Tweaks to simplify and improve the sample
I noted the following tweaks while implementing the sample on an internal project.
Each tweak is broken into an individual commit as follows:
See example:

Thanks! This project is just one way of implementing Revit plugins targeting multiple versions, so it is not intended to fit everyone's shoes or used blindly. Commenting on the above tweaks:
- Nice
- Nice
- Nice, this was lifted from the original https://github.com/salaros/vs-templates-revit-addin without much changes (credits given in the article, might worth adding a note to it on the README too).
- Cool!
- I understand where this is coming from, but personally I like that details are set once in one place and replicated there where required. As this is a personal preference on how to setup the solution, devs can choose to modify this template to suit their needs and way of working, but I'd revert this to how it was as the article points to https://github.com/salaros/vs-templates-revit-addin for more details and info on the setup.
- Again, this change is a personal preference and no way is better than the other. I still like the fact that on
Debugit compiles to all versions the project is configured to so dev does not need to fiddle with the csproj in case there is a need to debug in more than one revit version. I find it easier to remove things from a template that are not needed in a case by case rather than having to add it if needed (MSBuild is not the the simplest thing to get right) - Similar to above comments, personal preference to set all project's supported versions in one place under no MSBuild conditional and just have one for
Debug Onewith the default debug version.
-
[Metadata mapping] Yeah that's fair, I'll revert.
-
& 7. [DebugOne] Yeah DebugOne does seem to have become a standard so I'll revert but I just never understood why anyone would want to Debug all versions simultaneously?
While we're discussing Any idea whether this can be removed?
<!-- Force the project to use the legacy debugger engine -->
<DebugEngines>{351668CC-8477-4fbf-BFE3-5F1006E4DB1F}</DebugEngines>
I don't use this in any of my addins and as far as I'm aware it has caused no issues?