Add-In With Duplicate GUID Causing Problems With Load

I'm having a weird problem I'm hoping someone can shed some light on. I used a SolidWorks SwCSharpAddin template to create a couple of addins. I didn't realize it at the time, but the template built a new SW addin with the same GUID defined for the main class and I registered it (via RegAsm /codebase) with the duplicate GUID. Some strange things were happening which is I how I tracked the problem down.

When I figured out that I had the same GUID in both Addins. I changed the newer one to a new GUID in both the Class and the properties for the Addin. I did a RegAsm /Unregister on both addins and checked that all related classes were removed from the registry which they were. I then registered both addins with RegAsm /Codebase and the new GUIDs in place. My problem is still not solved!

When I load the old Addin, it is actually loading the new one. With both of them loaded, I get 2 identical menus each for the newer Addin I created. When I look at the list of available Addins to load it shows both and lists the correct path for both of the addins. However, when I check the checkbox to load the first addin it is still loading the other one! Somewhere in the registry, I seem to have connected the old addin with the new one and doing a RegAsm /Unregister does not appear to get rid of the connection!

The list of addins to be loaded in SolidWorks shows each of the unique GUIDs that I have defined, but something somewhere it is then pointing the older addin back to the new one when it actually loads. Anyone have any ideas?


Thanks!

SolidworksApi macros