Skip to content

TownSuite/AssemblyInfoUtil

Repository files navigation

A CLI tool to increment or set version numbers in .vb, .cs, .vbproj, or .csproj files.

AssemblyInfoUtil

Fork of https://www.codeproject.com/Articles/31236/How-To-Update-Assembly-Version-Number-Automaticall

Increment version numbers

Can increment numbers the following file types.

  • AssemblyInfo.vb
  • AssemblyInfo.cs
  • .csproj
  • .vbproj
  • .props
  • .nupspec

Example

Major.Minor.Build

Increment the minor portion of the version number

.\AssemblyInfoUtil.exe -inc:2 "D:\Path\to\the\file.csproj"