Inventor 2020 SDK Developer Tools: Supported Visual Studio versions?

Inventor 2020 SDK Developer Tools: Supported Visual Studio versions?

DRoam
Mentor Mentor
9,155 Views
12 Replies
Message 1 of 13

Inventor 2020 SDK Developer Tools: Supported Visual Studio versions?

DRoam
Mentor
Mentor

We are looking into purchasing a license for Visual Studio Professional. It seems the only version year available for purchase from Microsoft is 2019.

 

What Visual Studio versions are supported by the Inventor 2020 SDK developer tools, and is Visual Studio Professional 2019 one of them?

0 Likes
Accepted solutions (2)
9,156 Views
12 Replies
Replies (12)
Message 2 of 13

HideoYamada
Advisor
Advisor
Accepted solution

Hello,

 

It is written in the file below.

file:///C:/Users/Public/Documents/Autodesk/Inventor%202020/SDK/SDK_Readme.htm


The Inventor wizards will be installed along with the DeveloperTools.msi. The wizards creates code templates that developers can use to quickly create applications that target the Inventor API. The templates are integrated into the Microsoft Visual Studio environment. Therefore, you can use the templates to create projects in VC++ (2013, 2015 and 2017), VB (2013, 2015 and 2017) and VC# (2013, 2015 and 2017). You need to have Microsoft Visual Studio installed first in order to be able to install the DeveloperTools.msi which includes wizards.

I use VS 2019 Community and have no trouble with making add-ins.

DeveloperTools.msi don't recognize VS 2019, so you have to copy templates manually.

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 3 of 13

Frederick_Law
Mentor
Mentor

@HideoYamada wrote:

Hello,

I use VS 2019 Community and have no trouble with making add-ins.

DeveloperTools.msi don't recognize VS 2019, so you have to copy templates manually.

 


It never worked with free VS version.

0 Likes
Message 4 of 13

HideoYamada
Advisor
Advisor

Hello,

 

@Frederick_Law wrote:

It never worked with free VS version.


Does this mean your VS Community didn't work properly to create AddIns?

(Or you have ever used VS Community to create AddIns?)

 

My VS 2019 Community works fine 🙂

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 5 of 13

Frederick_Law
Mentor
Mentor

The SDK never worked in free VS.

Something with wizard.

 

I build addin before "Community", "Express" is the word.

0 Likes
Message 6 of 13

HideoYamada
Advisor
Advisor

Hello,

 

Sometime the script in "Post-build event command line" has a trouble.

I use this script instead of the script set by the template.

call "%vsappiddir%..\..\Common7\Tools\VsDevCmd.bat"
call mt.exe -manifest "$(ProjectDir)$(TargetName).X.manifest" -outputresource:"$(TargetPath)";#2
XCopy "$(TargetPath)" "%AppData%\Autodesk\ApplicationPlugins\$(TargetName)\" /Y /R
XCopy "$(ProjectDir)Autodesk.$(TargetName).Inventor.addin" "%AppData%\Autodesk\ApplicationPlugins\$(TargetName)\" /Y /R   
rem If you create a localized version too, copy a resouce dll.
rem In the case below, copy the Japanese resource dll.
rem mkdir "%AppData%\Autodesk\ApplicationPlugins\$(TargetName)\ja" rem XCopy "$(TargetDir)ja" "%AppData%\Autodesk\ApplicationPlugins\$(TargetName)\ja\" /S /Y /R

And if your PC has no 'mt.exe', you have to prepare it.

(You will install the Windows SDK.)

 

Best regards,

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 7 of 13

akhid.rosyidi
Contributor
Contributor

Hi @HideoYamada .

 

i try to install inventor developer with visual studio community 2019. but it can't works.

could not find any version of Microsoft Visual studio.

 

how you can install this developer sdk?

 

0 Likes
Message 8 of 13

HideoYamada
Advisor
Advisor

Hello akhid,

 

I just tried to install SDK to the machine which was only installed Visual Studio 2019, and got a same result as you said.

 

You can install the files manually.

 

1) Extract the files from the installer.

Inventor 2017 Addin Templates 

 

2) Move the folder :

From : <Destination folder>\DeveloperTools

To : C:\Users\Public\Documents\Autodesk\Inventor 2020\SDK\

 

3) Move the file as following :

From : <Destination folder>\VS15.0_USRPRJTEMPL\Documents\Visual Studio 2017\Templates\ProjectTemplates\*.zip

To : C:\Users\<UserName>\Documents\Visual Studio 2019\Templates\ProjectTemplates\

 

Good luck!!

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
Message 9 of 13

Anonymous
Not applicable

Hi Mr. Yamada 

 

I did every step you mentioned but it doesn't work. Do you know another way?

0 Likes
Message 10 of 13

bradeneuropeArthur
Mentor
Mentor
Accepted solution

take a look in your VS setting about the template location:

 

Tools>> Options>> Project and Solutions>>>

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 11 of 13

HideoYamada
Advisor
Advisor

Hi,

 

Please tell me what and when the trouble occurs in detail.

 

Have you compiled your program correctly?

Can you see your add-in at AddIn Manager?

Do you get an error message? When? Where?

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 12 of 13

Anonymous
Not applicable

Hi,

 

Thank to @bradeneuropeArthurI solved the issue.

 

thx for aking senpai

0 Likes
Message 13 of 13

Wenzel83
Explorer
Explorer

Again the same problem with VS 2022 Community.

inventor 2022 has support to VS 2022 already?

0 Likes