Dorssel.GitVersion.MsBuild 1.1.1

dotnet add package Dorssel.GitVersion.MsBuild --version 1.1.1
                    
NuGet\Install-Package Dorssel.GitVersion.MsBuild -Version 1.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dorssel.GitVersion.MsBuild" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dorssel.GitVersion.MsBuild" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Dorssel.GitVersion.MsBuild" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dorssel.GitVersion.MsBuild --version 1.1.1
                    
#r "nuget: Dorssel.GitVersion.MsBuild, 1.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Dorssel.GitVersion.MsBuild&version=1.1.1
                    
Install Dorssel.GitVersion.MsBuild as a Cake Addin
#tool nuget:?package=Dorssel.GitVersion.MsBuild&version=1.1.1
                    
Install Dorssel.GitVersion.MsBuild as a Cake Tool

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!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Dorssel.GitVersion.MsBuild:

Repository Stars
dorssel/usbipd-win
Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
Version Downloads Last updated
1.1.1 1,697 3 months ago
1.1.0 1,026 5 months ago
1.0.0 114 5 months ago