I developed two SW C# DLL addin versions
- I noticed that 2 addins cannot have the same Title:
Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\SolidWorks\\AddIns\\{GUID_2016}\\Title = "{Product}"
Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\SolidWorks\\AddIns\\{GUID_2017}\\Title = "{Product}"
One of them will not be visible in SW Addin panel
- I noticed that DLL must have a different filename:
C:\\Programs\\[Product]\\2016\\Addin.dll
C:\\Programs\\[Product]\\2017\\Addin.dll
Cannot be loaded together in same SW session
- So I changed the filenames but now I have a conflict whith namespace:
Addin2016.dll => [Company].[Product].A
Addin2017.dll => [Company].[Product].B
Depending on the loading order of the addins, SW tries to get A class into Addin2017.dll and B class into Addin2016.dll
If anybody know the rules to avoid conflicts between versions, it will be very useful!
SolidworksApi macros