TfsVersion PropertiesMSBuild Extension Pack Help 4.0.12.0

The TfsVersion type exposes the following members.

Properties

  NameDescription
Public propertyAssemblyVersion
Sets the AssemblyVersion. Defaults to Version if not set.
Public propertyBuild
Gets or Sets the Build version
Public propertyBuildName
Sets the name of the build. For Tfs 2005 use $(BuildType), for Tfs 2008 use $(BuildDefinition)
Public propertyBuildNumberRegex
Sets the BuildNumberRegex to determine the verison number from the BuildNumber when using in Synced mode. Default is \d+\.\d+\.\d+\.\d+
Public propertyCombineBuildAndRevision
Sets whether to make the revision a combination of the Build and Revision.
Public propertyDateFormat
Sets the date format to use when using VersionFormat="DateTime". e.g. MMdd
Public propertyDelimiter
Sets the Delimiter to use in the version number. Default is .
Public propertyFiles
Sets the files to version
Public propertyForceSetVersion
Set to true to force SetVersion action to update files that do not have AssemblyVersion | AssemblyFileVersion present. Default is false. ForceSetVersion does not affect AssemblyVersion when SetAssemblyVersion is false.
Public propertyMajor
Sets the major version
Public propertyMinor
Sets the minor version
Public propertyPaddingCount
Sets the number of padding digits to use, e.g. 4
Public propertyPaddingDigit
Sets the padding digit to use, e.g. 0
Public propertyRevision
Gets or Sets the Revision version
Public propertySetAssemblyFileVersion
Set to True to set the AssemblyFileVersion when calling SetVersion. Default is true.
Public propertySetAssemblyVersion
Set to True to set the AssemblyVersion when calling SetVersion. Default is false.
Public propertyStartDate
Sets the start date to use when using VersionFormat="Elapsed"
Public propertyTextEncoding
Sets the file encoding. Default is UTF8
Public propertyTfsBuildNumber
Sets the Tfs Build Number. Use $(BuildNumber) for Tfs 2005 and 2008.
Public propertyUseUtcDate
Set to True to get the elapsed calculation using UTC Date Time. Default is false
Public propertyVersion
Gets or Sets the Version
Public propertyVersionFormat
Sets the Version Format. Valid VersionFormats are Elapsed, DateTime, Synced
Public propertyVersionTemplateFormat
Specify the format of the build number. A format for each part must be specified or left blank, e.g. "00.000.00.000", "..0000.0"
Top
See Also

Reference