Dorssel.GitVersion.MsBuild 2.1.0

dotnet add package Dorssel.GitVersion.MsBuild --version 2.1.0
                    
NuGet\Install-Package Dorssel.GitVersion.MsBuild -Version 2.1.0
                    
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="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dorssel.GitVersion.MsBuild" Version="2.1.0" />
                    
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 2.1.0
                    
#r "nuget: Dorssel.GitVersion.MsBuild, 2.1.0"
                    
#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.
#:package Dorssel.GitVersion.MsBuild@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dorssel.GitVersion.MsBuild&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Dorssel.GitVersion.MsBuild&version=2.1.0
                    
Install as a Cake Tool

GitVersion.MsBuild (netstandard2.0)

Build CodeQL Lint REUSE status Codecov NuGet

Why

This package is an addition to the original GitVersion.MsBuild, which does not support building WiX projects that use GitVersion.MsBuild from within Visual Studio 2026.

For older Visual Studio versions, see the README for this project, version 1.1.1.

When

If you are building WiX projects that use GitVersion.MsBuild from within Visual Studio 2026, you need this package. If not, then you do not need this package at all.

How

Add the following reference in your WiX project:

<PackageReference Include="GitVersion.MsBuild" PrivateAssets="all" />
+<PackageReference Include="Dorssel.GitVersion.MsBuild" PrivateAssets="all" Version="2.*" />

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
2.1.0 322 2/19/2026
2.0.0 568 12/10/2025
1.1.1 7,281 1/19/2025
1.1.0 1,626 12/3/2024
1.0.0 230 12/1/2024