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: 

simpleAddin

5 REPLIES 5
Reply
Message 1 of 6
naresh_kalyan
477 Views, 5 Replies

simpleAddin

Greetings..

 

Hi everyone,

 I would like to create an addin in VS2010 & IN2012. How I could able to do this?

I have gone through the help and started with "simpleAddin". But, while building I could able to see the following error.

 

The same error for all Addins. Someone's help would be greatly appreciated.

 

Thanks in advance.

 

Error    1    The command "mt.exe -manifest "E:\Program Files\Autodesk\Inventor 2012\SDK\DeveloperTools\Samples\VB.NET\AddIns\SimpleAddIn\My Project\SimpleAddIn.manifest" -outputresource:"E:\Program Files\Autodesk\Inventor 2012\SDK\DeveloperTools\Samples\VB.NET\AddIns\SimpleAddIn\bin\SimpleAddIn.dll";#2
" exited with code 9009.    SimpleAddIn

5 REPLIES 5
Message 2 of 6

Hi,

 

Firstly, please take a look at the tutorial on registry-free addin

http://modthemachine.typepad.com/my_weblog/2012/02/migrate-net-add-ins-to-registry-free.html

 

As to the error you hit, it is just an error in the post-build script. in this case, that would mean the 'mt.exe' does not exist in the system path. you will need to search where the 'mt.exe' is on your machine and add the path to the system path. Of course, you can also use absolute path ,e.g.

"c:\...\mt.exe"   "....addin.manifest"  "....\addin.dll"

 

Message 3 of 6

Thank you for your reply. I have gone through entire help. But, still I could not able to create a Valid .manifest file.

I could write the code and build successfully (Prior to this I used to work with Macros)

 

Could you please elaborate towards .manifest file

 

Thanks for your time.

 

Message 4 of 6

Hi Everyone...


I have followed the steps as mentioned below. But, still in vain.

 

created a Project by taking Autodesk Inventor Addin Template

created a solution

Created a "Testaddin.manifest" file in /Myproject/ folder

Added "Testaddin.manifest" into the solution

Created "Testaddin.addin" file in C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins

Build the solution

 

-Build Succeeded-

 

Copied the Testaddin.dll from "\TestAddin\bin" to "\Inventor 2012\Bin"

Still I could not able to see "TestAdin" in Autodesk Inventor - Addins.

It seems that I'm almost nearer in creating Addin.

 

Anyone's help would be greatly appreciated.

 

Regards

NKalyan

 

 

Message 5 of 6

Hi naresh_kalyan,

 

this is a blog on the registry-free addin. You will know what is manifest file.

http://modthemachine.typepad.com/my_weblog/add-in-creation/

Message 6 of 6

Hi,

 

you seemed to forget to put the *.addin file to the specific folders which Inventor will look for the addins are to be loaded.

again, please take a look at the blog I mentioned above and followed the steps.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report