- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I'm trying to integrate some APS functionality into my Revit addins, namely so I can use Parameters Service. However, It seems like the newest versions of Autodesk.Authentication and Autodesk.DataManagement are incompatible with Revit 25 and 26 (and completely incompatible with 23/24). Am I missing something, it doesn't make sense to me that the SDKs exist but I can't use them?! I can downgrade the Authentication package to 1.0.0 and it works, but DataManagment doesn't work at all.
The error that I get is this:
```
Could not load file or assembly 'System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Could not find or load a specific file. (0x80131621)
```
Part of the root of the issue is that i'm using System.Text.Json in my code but for quite a few reasons I dont want to stop. I really do feel like i'm missing something because it seems inconceivable to me that your expected not to use the System.Text.Json library in a Revit addin.
This is my Repo: https://github.com/kaitpw/PE_Tools
The error that i pasted happens as soon as I enter the Json.cs file (if the Autodesk.Authentication package is v2+)
Solved! Go to Solution.