.NET Auto Increment Version Number

Filed Under (Blog) by fakhrul on 30-07-2009

I just found a good tools to auto increment the software revision number when you build the project.

Normally the standard revision number for .NET contains 4 parts :

 

1 - Major Version
0 - Minor Version
0 - Build Number
1 – Revision

 

So, by default, this tools will auto generate the last 2 portion. The Build Number and the Revision. The Build Number will increase base on the date while the Revision will increase every time you build the project.

 

You can try and get it from here. If it is useful, and it’s good for you.. :)

 

Others useful links:

  1.  http://www.crowsprogramming.com/archives/27
  2. http://sharplife.net/CommentView,guid,ac681cd4-7861-4916-867b-f1b39bb3037d.aspx#commentstart

Comments:

2 Responses to “.NET Auto Increment Version Number”


  1. Release numbering is under Software Configuration Management (SCM) has already been well discussed.

    I think I’ve already circulated this article and tried to start a discussion back at Mediu.

    http://www-128.ibm.com/developerworks/rational/library/06/0925_lipien-haines-gan/


  2. While any rare interview is good for ratings, the BBC holds great power and responsibility. ,

Leave a Reply