If you run the SolidWorks x64 on Vista x64, and when you use the add-in Wizard to start your programming in SolidWorks x64, without adding a single line of code, compile and run it…
Yes, SolidWorks started, but your addin is not loaded!
Open the registry using Regedit.exe, and browse to Solidworks related branch, you can see, however, that the addin has registered itself in SolidWorks. Since this is the x64 version, you can see it in the Wow6432Node\SolidWorks, as shown below:
This indicate that SolidWorks is not ignorant of your addin, but why did SW not load it? The reason is that your assembly is not registered to the GAC! Searching your GUID (in my case, “26a9c88e-0871-4e0d-837c-d1d6b38ab89e”) in registry shows that the GUID appears only in the registry as shown above, and where is the assembly (DLL) located, is not notified to Windows Vista OS. To troubleshoot this, in your VisualStudio 2005 or 2008, in the postbuild command, input “%windir%\Microsoft.NET\Framework64\v2.0.50727\regasm $(TargetPath) /codebase” (do NOT input quotation marks), this will register your addin assembly to the GAC. Recompile and run, now it works!