DigitalZenWorks.Common.VersionUtilities 1.1.12

dotnet add package DigitalZenWorks.Common.VersionUtilities --version 1.1.12                
NuGet\Install-Package DigitalZenWorks.Common.VersionUtilities -Version 1.1.12                
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="DigitalZenWorks.Common.VersionUtilities" Version="1.1.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DigitalZenWorks.Common.VersionUtilities --version 1.1.12                
#r "nuget: DigitalZenWorks.Common.VersionUtilities, 1.1.12"                
#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.
// Install DigitalZenWorks.Common.VersionUtilities as a Cake Addin
#addin nuget:?package=DigitalZenWorks.Common.VersionUtilities&version=1.1.12

// Install DigitalZenWorks.Common.VersionUtilities as a Cake Tool
#tool nuget:?package=DigitalZenWorks.Common.VersionUtilities&version=1.1.12                


This is a project to support getting version information and helping to automatic version updates and other versioning functionality.

Getting Started



git clone


NOTE: Always back up any data you might be modifying.

Command line usage:

VersionUpdate: <version file>

Usage notes:

As of now, this utility only acts on known file types. The current known file types are .cs, .csproj, .css and .php. There are plans to act upon a generic or unknown file type, such as a version file that only contains a version number. Coming soon!

For the known file types, it only acts upon a preceding identifier marker. This is because these files may reference other version numbers other than it's own. For example, csproj files often contain references to packages that also have their own version numbers. There are plans to make the identifier markers configurable. But at the moment, they are hard-coded. Here is a current list of identifier markers:

  • AssemblyVersion(" - .cs files
  • AssemblyFileVersion(" - .cs files
  • AssemblyVersion< - .cs files
  • AssemblyFileVersion< - .cs files
  • FileVersion< - .cs files
  • Version< - .cs files
  • Version: .css files
  • @version( .php files
  • , .php files

Following after the identifier marker, a recognizable version tag must also be present, to be updated.

Library usage:



Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".


  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Coding style

Please match the current coding style. Most notably:

  1. One operation per line
  2. Use complete English words in variable and method names
  3. Attempt to declare variable and method names in a self-documenting manner


Distributed under the MIT License. See LICENSE for more information.


James John McGuire - @jamesmc -

Project Link:

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.12 223 12/2/2023