TfsVersion Properties

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The TfsVersion type exposes the following members.

Properties

  NameDescription
Public propertyAction
Specifies the action to perform
Public propertyAssemblyDescription
Gets or Sets the AssemblyDescription.
Public propertyAssemblyVersion
Sets the AssemblyVersion. Defaults to Version if not set.
Public propertyBuild
Gets or Sets the Build version
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 | AssemblyDescription present. Default is false. ForceSetVersion does not affect AssemblyVersion when SetAssemblyVersion is false or AssemblyDescription when SetAssemblyDescription 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 propertySetAssemblyDescription
Set to True to set the AssemblyDescription when calling SetVersion. Default is false.
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 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. Default is DateTime
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"

See Also