https://github.com/salaros/vs-templates-revit-addin
Visual Studio C# (project) template for easy Revit add-in creation
https://github.com/salaros/vs-templates-revit-addin
add-in addin application csharp revit revit-api template visual-studio vs2017
Last synced: 19 days ago
JSON representation
Visual Studio C# (project) template for easy Revit add-in creation
- Host: GitHub
- URL: https://github.com/salaros/vs-templates-revit-addin
- Owner: salaros
- License: mit
- Created: 2018-07-13T09:26:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-01T11:17:48.000Z (almost 3 years ago)
- Last Synced: 2025-04-05T13:44:09.917Z (24 days ago)
- Topics: add-in, addin, application, csharp, revit, revit-api, template, visual-studio, vs2017
- Language: C#
- Size: 292 KB
- Stars: 85
- Watchers: 18
- Forks: 20
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
ο»ΏVisual Studio Revit Add-in Template [](https://ci.appveyor.com/project/salaros/vs-templates-revit-addin)
===================================



Visual Studio C# (project) template for easy [Revit](https://en.wikipedia.org/wiki/Autodesk_Revit) add-in creation.
## Installation & Update
Just grab the latest release (.zip file) from [releases page](https://github.com/Equipple/vs-templates-revit-addin/releases) and copy it into
```
"%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C#"
```(use Visual Studio 2017 if you have that version)
## πππ Support this project πππ
You can support us in a small way, please consider starring and sharing this repo! It helps us getting known and grow the community.
## Personalization
#### Add-in metadata
Unlike other add-in template this one doesn't require constantly updating .addin file. It takes all the information from project properties:

#### Revit versions
By default the newly created add-in will target Revit x64 2014-2019, you could target fewer versions by simply removing items from `TargetFrameworks`:

## Debug
For your convenience in `Debug` configuration the add-in will copy its manifest to `%AppData%\Autodesk\Revit\Addins` folder with Assembly tags pointing to your compilation output folder.
Before starting the debugger make sure you have selected the proper Revit version:

If Revit won't start probably you have installed it to a non-default location and you have to modify [launchSettings.json](src/Properties/launchSettings.json) file.
You could also use [launchSettings.json](src/Properties/launchSettings.json) to tweak command line parameters passed to Revit.exe file, e.g. you might want Revit to open a project template / family file for every debug session you start.
## License
This project is licensed under the terms of the [MIT License](LICENSE).
## Credits
This template has been inspired by both [Jeremy Tammik](https://github.com/jeremytammik)'s [project templates](https://github.com/jeremytammik/VisualStudioRevitAddinWizard) and [Sander Obdeijn](https://github.com/sanderobdeijn)'s [blog post](http://buildingknowledge.eu/custom-msbuild-targets-for-compiling-addins-for-multiple-revit-versions/) about multi-targeteting different versions of Revit from one project.