Hello,
I'm trying to explore how to write an addin for inventor 2012 using VB.net
Visual studio 2010 express is installed on my computer (windows 7 - 64 bit)
I have also installed the developer tools from autodesk delivered with inventor 2012 and the template shows up in visual studio 2010 express.
When I create a new project using the template and try to build it (without modifications) I get the following error :
Error 1 The command "call "%VS100COMNTOOLS%vsvars32" mt.exe -manifest "X:\XGI\Xapp\inventorPlugins\testproject\InventorAddIn1\InventorAddIn1\InventorAddIn1.X.manifest" -outputresource:"X:\XGI\Xapp\inventorPlugins\testproject\InventorAddIn1\InventorAddIn1\bin\Release\InventorAddIn1.dll";#2" exited with code 9009. InventorAddIn1
I don't know how to get it to work.
I don't know if this is a studio related error or inventor related.
Has anyone had this same error ?
Thanks for your help.
Regards,
Willy
I think the problem is the path you use to call this command: "call "%VS100COMNTOOLS%vsvars32" mt.exe. Is it possible to use a full path for that exe? Or is this Visual Studio Generated Code?
Hello,
thanks for your reply, but I have no idea where the mt.exe stands for, I didn't used it myself.
Regards,
Willy
I have the same problem but I'm using Visual Express 2008.
We need to convert our VBA Macros to .Net and I was trying to do a connection between Visual Express and Inventor to explore thought the objects.
I think is because we need to copy the manifest file to start debugging, I try to do this but still doesn’t work.
I hope someone can help us.
Regards,
Daniela Dubois
I had the same problem. I'm using VS2010 with VB on Win 7 64 Bits.
1- In your project folder, find file: ProjectName.vbproj > Open it
2- Looking for tag: <PostBuildEvent>
3- Replace:
<PostBuildEvent>call "%25VS100COMNTOOLS%25vsvars32"
mt.exe -manifest "$(ProjectDir)PartsList for DrawingView.X.manifest" -outputresource:"$(TargetPath)";#2</PostBuildEvent>
by
<PostBuildEvent>call "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\mt.exe" -manifest "$(ProjectDir)PartsList for DrawingView.X.manifest" -outputresource:"$(TargetPath)";#2</PostBuildEvent>
4- Save
5- Reload your project
Hope this help
Fred
Thanks you for your post Fred. I am not sure what I was doing wrong but after reading your post it helped. It's good people like you and everyone around here that help the people who are struggling with getting a task complete!! :o)