AnsweredAssumed Answered

Addin versions conflict

Question asked by Alexandre Gragnano on Jun 20, 2017
Latest reply on Jun 21, 2017 by Alexandre Gragnano

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:


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!