65.9K
CodeProject is changing. Read more.
Home

Increment Private Build Number

starIconstarIconstarIconemptyStarIconemptyStarIcon

3.00/5 (2 votes)

Feb 9, 2000

viewsIcon

82510

downloadIcon

1046

An add-in to automatically increment the PrivateBuild field in your applications resource file.

  • Download source files - 34 Kb
  • Many times you have to distinguish between two executable versions of the same file, and not only by version number. As all know, the version descriptor from the resource file contains a lot of fields: CompanyName, FileDescription, Files Version, and so on. Following these fields is the SpecialBuild field. I made this Add-In to increments this number. I found it very useful, the sources are free, and you can easy improve it to personalize one (or more) of the version resource descriptors.

    The Add-In has to be activated from the Add-In Manager in Developer Studio.

    How does this work? When you are in the current project, and call the Build (Rebuild) commands the Add-In increments the number found on SpecialBuild and saves it.

    It is not a big stuff but is still useful.