Visual Studio C# (project) template for easy Revit add-in creation
Unlike other add-in template this one doesn't require constantly updating .addin file. It takes all the information from project properties:
By default the newly created add-in will target Revit x64 2014-2020, you could target fewer versions by simply removing items from TargetFrameworks
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 file.
You could also use 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.