Hey
I have tried to compile your applciation on my pc but one thing that jump out at me was in the .addin file
Your code is this
<Addin Type="Standard">
<!--Created for Autodesk Inventor Version 23.0-->
<ClassId>{b0d4c39f-420e-4941-beb9-db9b98f89d1b}</ClassId>
<ClientId>{b0d4c39f-420e-4941-beb9-db9b98f89d1b}</ClientId>
<DisplayName>LZSAddIn_V2</DisplayName>
<Description>LZSAddIn_V2</Description>
<Assembly>LZSAddIn_V2.dll</Assembly>
<LoadOnStartUp>1</LoadOnStartUp>
<UserUnloadable>1</UserUnloadable>
<Hidden>0</Hidden>
<SupportedSoftwareVersionGreaterThan>18..</SupportedSoftwareVersionGreaterThan>
<DataVersion>1</DataVersion>
<UserInterfaceVersion>1</UserInterfaceVersion>
</Addin>
Highlighting this line
<Assembly>LZSAddIn_V2.dll</Assembly>
shouldnt this have a full unc path to the dll? i do on all of mine
<?xml version="1.0" encoding="utf-8"?>
<Addin Type="Standard">
<ClassId>{c2f15a84-ec14-4769-b2f3-ffd673442a9d}</ClassId>
<ClientId>{c2f15a84-ec14-4769-b2f3-ffd673442a9d}</ClientId>
<DisplayName>MyApplication</DisplayName>
<Description>A tool example for the Forum</Description>
<Assembly>C:/Users/NachoUK/source/repos/Inventor Apps/MyApp/MyApp/bin/Debug/MyApp.dll</Assembly>
<LoadBehavior>0</LoadBehavior>
<UserUnloadable>1</UserUnloadable>
<Hidden>0</Hidden>
<SupportedSoftwareVersionGreaterThan>23..</SupportedSoftwareVersionGreaterThan>
<SupportedSoftwareVersionLessThan>25..</SupportedSoftwareVersionLessThan>
<DataVersion>1</DataVersion>
<UserInterfaceVersion>1</UserInterfaceVersion>
</Addin>
my code is purely an example of my test.addin with a full unc. I would have thought that without a path, surely it cannot load the DLL
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.