cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use AssemblyLoadContext Internally Within Inventor Add-Ins

Use AssemblyLoadContext Internally Within Inventor Add-Ins

With Inventor 2025+ using .NET 8, there is no separate execution context for the add-in to run. So, if there is a Nuget package/assembly version conflict with the add-in and Inventor or another add-in, it will cause an error. Below are some resources for how to do this manually within each add-in.

 

Could this be built into the standard ApplicationAddInServer to prevent the need from doing this manually?

 

Blog article on Inventor add-in implementing AssemblyLoadContext:

https://tylerwarner.dev/how-to-use-assemblyloadcontext-for-isolating-inventor-addin-dependencies

 

Sample Inventor add-in implementing AssemblyLoadContext:

https://github.com/tylerwarner33/autodesk-inventor-assembly-load-context

 

Revit implementation discussion about internal implementation:

https://feedback.autodesk.com/project/forum/thread.html?cap=cb0fd5af18bb49b791dfa3f5efc47a72&forid=%...

 

2 Comments
Yuming.Zeng
Autodesk

Hi @TylerWarner33 ,

Thank you for your idea. This was logged as INVGEN-69391.

We're working on the research.

 

Yuming

TylerWarner33
Advocate

From what I hear, the attempt to do this in Revit was broken for 2026, but expected to be completed in 2027.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea