I've tried to read everything I could on this, but I'm not sure what to do...
I created an add-in on our network drive. It is registered on my computer, works great and I want to put it on other computers.
Here is what I've tried...don't laugh if I tried some stupid things:
1)regasm.exe
C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\regasm /regfile H:\\Mfg-Solidworks\\Macros\\HMS_Taskpane\\HMS\\HMS\\bin\\Release\\HMS.Dll
This tells me it Fails to load because it is not a valid .NET assembly. I don't know what to do to convince it that it is valid...
2)write out my registry keys, then merge them on the new computer registry.
This puts the add-in into SW, but says there are missing components
3)somewhere someone suggested reviewing the dll in a program called depends.exe. There was a missing reference, but I added it in, rebuilt the project, and tried to regasm.exe it again, but had the same error.
Any suggestions would be great. Thanks!
Windows 7
Visual Studio 2010
SolidworksApi macros