This package is an alternative to the original GitVersion.MsBuild, which since version 6 no longer supports Visual Studio. This alternative does support Visual Studio.
If you are using GitVersion.MsBuild version 6+ and Visual Studio, then you may want to use this package instead of the original.
Currently, this package is not (yet) a full replacement. I implemented only the features I required for my own projects. However, it is really easy to extend it; I see no reason why this could not be a full replacement for all use cases.
Just create an issue if you require one of the following features, which are currently not supported:
- VB, F# (currently only C# is supported)
UpdateAssemblyInfo
(this is not required for modern SDK style projects)
Update the following reference:
-<PackageReference Include="GitVersion.MsBuild" PrivateAssets="all" />
+<PackageReference Include="Dorssel.GitVersion.MsBuild" PrivateAssets="all" />
Add the GitVersion CLI tool to your solution:
dotnet tool install GitVersion.Tool
All done!