This is a collection of multi-version Visual Studio project templates for creating Autodesk Inventor Add-Ins. Started from the templates created by Curtis Waguespack & provided in his Autodesk University 2023 class: Bridging the Gap Between iLogic Automation and Inventor Add-Ins.
dotnet new install Autodesk.Inventor.Templatesdotnet new uninstall Autodesk.Inventor.Templates- Open
Visual Studio File=>New=>Project- Search for
Inventor - Select
Inventor Add-In Basic Template - Enter project name and location
- Click
Create
- List all installed Inventor templates.
dotnet new list inventor
- Display all available options for the basic template.
dotnet new inventoraddin-basic --help
- Create a new add-in with the basic template and default settings (Inventor 2026).
dotnet new inventoraddin-basic --name YourAddInName
- Create a new add-in with the stacked buttons template and default settings (Inventor 2026).
dotnet new inventoraddin-stacked --name YourAddInName
- Create a new add-in with the basic template and specified Inventor version.
dotnet new inventoraddin-basic --name YourAddInName --InventorVersion 2025
- Create a new add-in with the basic template, specified Inventor version and output directory.
dotnet new inventoraddin-basic --name YourAddInName --InventorVersion 2025 --output C:\Projects\YourAddInName
- Clone this project or download it. It's recommended to install GitHub Desktop. To clone it via command line, use the following:
git clone https://github.com/tylerwarner33/autodesk-inventor-templates.git - Generate the package locally
dotnet pack -o ./nupkg -p:PackageVersion=1.0.0
- Install the locally generated package.
dotnet new install ./nupkg/Autodesk.Inventor.Templates.1.0.0.nupkg
- View installed packages.
dotnet new uninstall
- View installed packages.
- Uninstall the locally generated & installed package.
dotnet new uninstall Autodesk.Inventor.Templates
- Open
https://github.com/tylerwarner33/autodesk-inventor-templates - Select
Actionstab - Select
Releaseworkflow - Click
Run workflow
Ex. version 1.0.0
git tag 1.0.0
git push --tags- Microsoft Learn: Custom Templates For
dotnet new - Microsoft GitHub: Reference For Template.json
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.