View Single Post
  #2  
Old 04-10-2007, 08:28 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
It's unclear what you mean by increment a build number up to a particular date.

As far as incrementing a build number, see 'Update Global Macro' section of the Script.bld sample.
http://www.visualbuild.com/Manual/scriptsample.htm

To format the date in a field value, use a script expression and the vbld_FormatDateEx script function.
http://www.visualbuild.com/Manual/scriptexpressions.htm
http://www.visualbuild.com/Manual/sysscriptdatetime.htm

You can use the Replace in File action to update text in a .cpp/.rc file.
http://www.visualbuild.com/Manual/filereplaceaction.htm
http://www.visualbuild.com/Manual/filessample.htm

You can also use the Make VS.NET or Make VC6 action to update a version or property field in the VERSIONINFO resource of a .rc file.
http://www.visualbuild.com/Manual/vs...olutiontab.htm
Reply With Quote