I have a SolidWorks Addin Project developed using SolidWorks 2010 x86 and it have been working fine. I have a new SolidWorks 2010 x64 installation lately, there the same project (build with x86 configuration) does not work. SolidWorks does not recognize the Addin during run time.
Is this a limitation on SolidWorks 2010 x64 (that is dll built with x86 cannot be recongized)?
I cannot build the same project after switching the target to x64, I received the following build error:
CSC : warning CS1607: Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor
CSC : warning CS1607: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor
C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\Microsoft.Common.targets(2731,9): error MSB3097: File "C:\\Development\\svn\\SWPrototype\\SolidWorks\\DLL-Debug-TEM\\SwCSharpAddin_Empty.dll" is not a valid assembly.
Done building project "SwCSharpAddin_Empty.csproj" -- FAILED.
Note that my project is created using the template provided by SolidWorks (via theSDK), I have not add any code and I am building it as is.
I am also trying to look for SolidWorks SDK for x64 by so far I haven't found any (at least not from the 64 bit installation CD).
I would appreciate information from any one.
Thanks.
SolidworksApi macros