.NET Revision Task for MSBuild

Injects the current VCS revision of a working directory in a custom format into a .NET assembly build or just displays it.

.NET Revision Task is a custom MSBuild task that integrates the current Git or SVN revision info of a working directory into the build to embed it in applications. This works for .NET solutions for .NET Core/Standard using the new .csproj structure, and other .NET projects written in C# and VB.NET using the regular Visual Studio project structure.

Currently the following VCS (version control system) are supported:

  • Git
  • Subversion

More systems can easily be added in the code.

Compatibility: .NET Version 4.6 or newer .NET Standard Version 1.6 or newer Windows 10 Windows 8 Windows 7 64 bit

This tool is based on the older program .NET Revision Tool and integrates its features into MSBuild.


Please refer to the public Git repository of .NET Revision Task on GitHub for installation instructions and the source code.

Licence and terms of use

This software is released under the terms of the MIT licence. You can find the detailed terms and conditions in the download.

Statistic data

  • Created on 2018-01-30, updated on 2018-02-03.