Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-07-2003, 11:59 AM
jcmish jcmish is online now
Registered User
 
Join Date: 11-07-2003
Posts: 1
Newbie - how to increment nightly build version number

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
Reply With Quote
  #2  
Old 11-10-2003, 09:18 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Attached Files
File Type: bld ver_date.bld (2.2 KB, 1834 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.