I am using SolidWorks 2010 SP4 and Microsoft Visual Studio 2008. Windows 7 64bit and Windows XP 32bit
I developed swAddin, Tested and Debuged in my Machine, Working fine (from Debug Location), Menu loaded in SolidWorks No issues.
When I copy the files to Applicaiton Folder and unregister DLL from debug location and re-register (using regasm /codebase) with DLL in Applicaiton Folder, No issues.
swAddin listed in registry and Tools->Add-Ins see attached JPG "swAddin_Listed.JPG"
DLL not Loading in SolidWorks and gives the following error in 32bit environment and No response in 64bit environment.
"SAAP_NET" cannot be loaded. Either the Add-in or one of its components is missing - "swAddin_Error.JPG"
Same error happening with Client Machine also.
.Net FrameWork 3.5 is installed in Other Client machine.
Find the DLL's compile settings in "SAAP_Compile.JPG"
and AddIn References in "SAAP_Ref.JPG"
Also I checked "Make assembly COM-Visible" and Using "Strong Name Key file"
using C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe for 32bit
using C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\regasm.exe for 64bit
Is anyone have any idea, Why DLL is not loading properly in SolidWorks.
Thanks in Advance.