PDA

View Full Version : Newbie - how to increment nightly build version number


jcmish
11-07-2003, 10:59 AM
Hi I'm new to the windows world and visual build. I want to institute nightly build that have the following format:

<Product><major><minor><yymmdd>

Or something similar. I looked at the samples and it just may be that this is to basic a question but I wondered how you guys are handling incrementing your build numbers.

Thanx

kinook
11-10-2003, 08:18 AM
The built-in VS.NET, VC6, VB6 and Delphi actions provide auto-increment capabilities (on the Versions tab), but they increment either the 3rd or 4th build number by a single digit.

To achieve the versioning you describe, you could use a Replace in File action to modify the version field in the project's AssemblyInfo./.RC/.VBP file to the desired value. The attached sample shows how to do this for a .RC file.