- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to direct Inventor to a different addin library file depending on what version of Inventor is running?
I want to have my add-in support both 2025 and pre2025 which requires being built to both .net8.0 and .net4.8. However, I can't figure out how to direct Inventor to load the proper file.
The internet says I can have something like this:
<Assembly Condition="'$(TargetFramework)' == 'net8.0'">Addin.dll</Assembly>
<Assembly Condition="'$(TargetFramework)' == 'net4.8'">net4.8\Addin.dll</Assembly>
But regardless of what framework I target, it loads 4.8 first. If I remove the .dll fromthe 4.8 directory then it resorts to the other location. I tried having similar conditional statements that look for the version of Inventor but i get similar results.
Has anyone been able to resolve this issue?
Solved! Go to Solution.