Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor 2011 Add-in not loading

1 REPLY 1
Reply
Message 1 of 2
ajinkya.shivarkar
1477 Views, 1 Reply

Inventor 2011 Add-in not loading

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

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: ajinkya.shivarkar

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.

Post to forums  

Autodesk Design & Make Report