Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

Anonymous
Not applicable
5,073 Views
13 Replies
Message 1 of 14

Autodesk Inventor Wizards for Microsoft Visual Studio 2012 express ?

Anonymous
Not applicable

Hello,

I am a novice in Inventor customization. I have already  MS visual c# and vb.net 2010 express editions installed on my computer. As you know 2010 express editions have to be installed as a separate software.

I decided to try new MS 2012 visual studio express edition the other day. 2012 version is very comfortable to use because it allows to make vb.net, c#, C++ projects. Actually I use c# as the main language to study and vb.net as the secondary. The problem is that Autodesk Inventor Wizard installation package (Inventor 2013) doesn't work with MS visual studio 2012 express edition, therefore there is no Inventor AddIn template in Visual studio project creation window.

Does anybody has any ideas how to install Autodesk Inventor Wizard from Autodesk SDK package over MS Visual studio 2012? Is there any manual approaches to do that and how it will work?

0 Likes
Accepted solutions (2)
5,074 Views
13 Replies
Replies (13)
Message 2 of 14

rjay75
Collaborator
Collaborator
Accepted solution

I recently was trying to do the same thing with Visual Studio 2012. Got it to extract the template an install.

 

Download the DeveloperTools msi. Extract the files using this method. http://superuser.com/questions/307678/how-to-extract-files-from-msi-package.

 

Copy the file VCSInventorAddInTemplate2013.zip to this location C:\Users\{USER NAME}\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#.

 

When you restart Visual Studio the template should be there. 

Message 3 of 14

rjay75
Collaborator
Collaborator
Accepted solution

One more thing. Go to the properties of the project.

 

Change the command on the build events tab in the Post build events command line.

 

call "%VS100COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

call "%VS110COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir){Project Name}.X.manifest" -outputresource:"$(TargetPath)";#2

 

This is the line that copies the addin manifest.

Message 4 of 14

Anonymous
Not applicable

Thank you so much for help Thomas!

0 Likes
Message 5 of 14

DavinciCad
Participant
Participant

Hello all

 

for everyones benefit, I have done just the steps above and am now sharing the content.

 

Enjoy

 

Pat

 

http://www.blackbox-orange.com/downloads/Inventor2013AddInForVisualStudio2012Templates.zip

Message 6 of 14

Mark_Wigan
Collaborator
Collaborator

thanks!

best regards,
- Mark

(Kudo or Tag if helpful - in case it also helps others)

PDSU 2020 Windows 10, 64bit.

0 Likes
Message 7 of 14

Anonymous
Not applicable
How do you change the command if you are using Express? Thanks.
0 Likes
Message 8 of 14

DavinciCad
Participant
Participant

I am not shure to understand the question.  It should work just fine with VS express.

 

What are you trying to achieve?

 

Pat

0 Likes
Message 9 of 14

Anonymous
Not applicable

Im trying to use VS 2012 express. As far as I can tell there is no way to access post build command lines. I have attached a pic of my compile tab of the properties page.

 

 

0 Likes
Message 10 of 14

rjay75
Collaborator
Collaborator

After some searching it looks like that option may not be in the express version. What that command is doing is copying the Test2.X.manifest file to be in the same location as the compiled dll. If you manually copy that file to the dll location you should be fine.

 

Alternate

 

You can open the Test2.vbproj file (that may be what your projects file name is) in external text editor and modify the line

 

<PostBuildEvent>call "%25VS100COMNTOOLS%25vsvars32"
			mt.exe -manifest "$(ProjectDir)CratingAddIn.X.manifest" -outputresource:"$(TargetPath)";#2</PostBuildEvent>

 It may be towards the end of the file. Clost the project before changing the file.

Message 11 of 14

DavinciCad
Participant
Participant

Alternatively...

 

Option 1- You may want to modify your addin file to point towards your bin\debug folder of your project.  it does the job just weel during development.

Option 2- you may to redirect your debug output file to your addin location and leave your addin file intact.

 

both ways work great.

 

Cheers

 

Pat

0 Likes
Message 12 of 14

Anonymous
Not applicable

Cool. Looks like I'm in buisness. Thanks guys.

0 Likes
Message 13 of 14

CadUser46
Collaborator
Collaborator

Just installed VS Community 2013 (ver12) but using template for VS11.  Took me a while to find this answer.

 

Thanks rjay


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
0 Likes
Message 14 of 14

^_^clovis^_^
Advocate
Advocate

Hello Thomas,

It's already an old discussion but the subject is 100% related to my problem. I've started to move from vba to vb.net with vb.net 2012 express and I'm encountering some problem. I can't figure out where the problem is. Would you be kind to point me to the right direction ? Thanks

 

vb.netError.png

0 Likes