03-26-2018
01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-26-2018
01:58 PM
Sorry, you are correct. I forgot Properties.
The Cliff's notes to setting up is:
In Debug, set "Start External Program" to Inventor.exe
I'm not sure which version of VS you are using, but if VS2015, try adding the following to your Post Build events. It is essentially copying the pertinent files where you need them to go.
call "%VS140COMNTOOLS%vsvars32"
mt.exe -manifest "$(ProjectDir)BodySketchTools.X.manifest" -outputresource:"$(TargetPath)";#2
xcopy /y "$(ProjectDir)Autodesk.$(TargetName).Inventor.addin" "$(ALLUSERSPROFILE)\Autodesk\Inventor Addins\"
xcopy /y "$(TargetPath)" "$(ALLUSERSPROFILE)\Autodesk\Inventor Addins\"