Archive

Archive for the ‘VersionUpdater’ Category

VersionUpdater is now open source!

February 23, 2013 Leave a comment

You can find it on BitBucket at https://bitbucket.org/mgwilliam/versionupdater-for-.net/

Advertisements

An easy way to automatically increment build numbers in .NET

February 28, 2010 1 comment

Sometimes you just want something simple…

VersionUpdater will update the 4 part version number for .NET assemblies in your project(s) according to how you tell it to. The format of the 4 part version number is:

  • Major
  • Minor
  • Build
  • Revision

There are a couple of different approaches to how the version number can be updated. This post assumes you’re mostly interested in incrementing the Build segment of the version number each time you run a build process.

Automated builds?

Within your build process you will want to increment the Build segment of the version number to match the build number. VersionUpdater can be instructed to update the project/solution level assembly info file to set an explicit version number or to automatically increment some or all of the version number segments.

Manual builds on smaller projects

If you’re working on a small project and your build process basically consists of Ctrl+Shift+B then VersionUpdater can be called from your pre-build event to automatically update the Build segment of the assembly version. This gives you a rolling number that increments for each build. You may also choose to only do this in Release configuration if that suits your needs.

Download VersionUpdater and give it a try!

VersionUpdater 0.1.101.0 available!

February 28, 2010 Leave a comment

Version 0.1.101.0 of VersionUpdater is now available for download

Instructions:

  • Ensure you have the .NET framework 4 installed
  • Download VersionUpdater
  • Unzip the the download file and save VersionUpdater.exe to a folder (such as C:\BuildTools\)
  • Add a pre-build event to your .NET project to call VersionUpdater

See help for more details