Hi all,
I tried to create an add-in ( Autodesk Inventor 2011 and VB.net 2005) using the wizard from Developers tool on 64 bit machine. The add-in does not get loaded nor it hits the breakpoint on Public Sub Activate(...) method. The error that I see on the tool tip of breakpoint is "No Symbols have been loaded for this document". Am I missing on something while creating this add-in ?
Image is attached for reference.
Thanks in advance,
Ajinkya
Hi,
I had a similar problem on my x64 system, and maybe this is the same problem, you could take a look at my post here.
Anyway, when using 64 bit, you have to make sure that you use the proper "regasm" to register the AddIn, otherwise inventor will not load the AddIn, or, for that matter, know that it exists.
You can do this by manually using the regasm in the folder: "%Windir%\Microsoft.NET\Framework64\v2.0.50727\"
Doing it manually however can quickly get tiresome, so instead you could add the following "Post-Build Event" to your project:
if "$(ConfigurationName)" == "Release (x64)" ("%Windir%\Microsoft.NET\Framework64\v2.0.50727\regasm" /codebase "$(TargetPath)")
Remember to build as x64, and also remember to uncheck the "register for COM interop" option in the Build Settings!!
Hope this helps!
/Dgadensg
Can't find what you're looking for? Ask the community or share your knowledge.