-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assembly resolver with 2025 #1
Comments
I have not tested the Toolkit for Revit 2025 yet, it is not yet supported, I will investigate closer to April when the new version is scheduled for release. The order in which libraries are loaded is managed by Revit, RevitToolkit just resolves the dependencies for the "current" plugin being loaded. In your case, your better approach is to move the newer syncfusion version to the older plugins |
Thank you very much for providing the 2025 Isolation API function. I would like to ask you why this API only takes effect in Revit 2025 and later versions. Is it because Revit's management mechanism has changed, or for some other reason? |
@SamllPigYanDong Revit 2025 runs on .NET 8. |
Hi,
I love using the ExternalApplication implementation for the assembly resolution. Since I started using your toolkit I've had no issues with my addins using different versions of libraries.
I've compiled a fork so I can build for 2025 preview and noticed a potential problem.
I have two addins that both implement your toolkit and both use different versions of a 3rd party controls library (syncfusion). Both addins load and run in January preview just fine when tested one at a time. Both addins load and run in all previous version of Revit together just fine.
I need to call a method in the syncfusion library during onstartup.
Addin1 - newer version of syncfusion library - loads first - loads and runs OK.
Addin2 - older version of syncfusion library - loads after addin1 - fails to load with a systemio.fileloadesxception and it cannot load the syncfusion assembly
renamed .addin files to change the load order. Addin 2 will now load and both addins function normally.
So seems the assembly resolve helper is not working the same way in Revit 2025.
The text was updated successfully, but these errors were encountered: