loading error after recompiling my addin

SolidWorks 2005 sp4, Windows XP 64 bit

After recompiling my addin, my addin is still in the addin list inSolidWorks but it not loaded. If I try to load it I get thefollowing message: "MyAddin cannot be load. Either the Add-in orone of its components is missing". This message is false (or atleast misleading) because if I drag&drop (or Open) my addinloads just fine and I'm left with a duplicate addin in the list(one disabled and the other operational).

I'm starting to develop new commands for my addin so i'll need toreinstall it on a regular basis. I'd like to automate the copyingof the changed addin locally with the network system login scriptbut the above issues are getting in the way. Does anyone have asolution?SolidworksApi macros
Comments 5
JB
JB 2007-02-20
I don't know the proper way to uninstall or remove an add-in.Butif you have a dead add-in it's possible to remove it fromtheadd-ins list by removing the key for the add-in in registry.Lookin \HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns.
SF
SF 2007-02-20
Hi Mike
If you are using VB 6.0 (I think it should be the same for.NET)you should go in the project option, compatibility tab andselectbinary compatiblity.
It should solve your problem.
SF
SF 2007-02-20
It worked! Thanks BOINON.

Now all I have to do is figure out how to install it (the firsttime) via network system login script.
SF
SF 2007-02-21
Hi Mike
Readthislink
SF
SF 2007-02-21
No help but thanks.

With the Binary Compatibility set I will only have to install (Openor drag&drop) only once (and overwrite my dll with changes). Ican live with that.

Thanks for the help BOINON!