Home arrow Documentation arrow Packages Documentation arrow Versioning

Blogs

CI Factory is in Windows Developer Power Tools

Versioning PDF Print

[Draft documenation for v1.0.0]

[Created by PilotBob - 01/07/2007]

Dependencies

None.

Install

For installation during execution of the CI Factory install script add

<string value="Versioning"/>

to "Packages.InstallList". 

Targets

There are 2 public targets in this script:

  1. Versioning.IncrementBuildNumberOfModifiedAssemblies
  2. Versioning.IncreamentBuildNumberOfProduct

Versioning.IncrementBuildNumberOfModifiedAssemblies

This target will update all AssemblyInfo.cs or AssemblyInfo.vb files that are found in the production sub-folder. It will read the exsisting "AssemblyVersion" attribute number and increment the revision number. This only occurs if the Assembly's source changed since the last build. The changed Assemblyinfo.?? file will also be checked into source control.

The property "Versioning.ProductInformationFileLocation" is used when searching for AssemblyInfo.?? files to update.

Versioning.IncrementBuildNumberOfProduct

This target will update the ProductInfo.cs or ProductInfo.vb files that are found in the production sub-folder. By default it will populate the "AssemblyInfoVersion" with the CCNetLablel value passed in from the build server. This file will be updated for every build. The updated file will also be checked into source control.

The property "Versioning.ProductInformationFileLocation" is used when searching for AssemblyInfo.?? files to update.

The property "Versioning.ProductInformationFile" is used as the name of the file in which the product version is set.

The property "Versioning.ProductVersion" is the value which is used to set the product version. This property defaults to the CCNetLabel value.

Reports

None.

Trouble Shooting

 
< Prev   Next >