Skip to content

Alternative to GitVersion.MsBuild, compatible with Visual Studio.

License

Notifications You must be signed in to change notification settings

dorssel/gitversion-msbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Alternative to GitVersion.MsBuild, compatible with Visual Studio.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •  

Languages