Mercurial Revision No to Version your AssemblyInfo - MsBuild Series

added by mkemper
10/20/2010 4:00:52 AM

4 Kicks, 321 Views

This post is going to focus on getting our version number automatically updated during the build process. We are going to use the AssemblyInfo task from the “MSBuild.Community.Tasks” library and the HgVersion task from the “MSBuild.Mercurial” library. The HgVersion task will get the revision number from our Mercurial source control repository so we can include it in our assemblyInfo file. The AssemblyI...