Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 2.3 KB

README.md

File metadata and controls

54 lines (36 loc) · 2.3 KB

GitVersion.MsBuild (netstandard2.0)

Build CodeQL Lint REUSE status codecov NuGet

Why

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.

When

If you are using GitVersion.MsBuild version 6+ and Visual Studio, then you may want to use this package instead of the original.

What

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.

What NOT

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)

How

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!