







The TfsVersion type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Action |
Specifies the action to perform
|
![]() | AssemblyDescription |
Gets or Sets the AssemblyDescription.
|
![]() | AssemblyVersion |
Sets the AssemblyVersion. Defaults to Version if not set.
|
![]() | Build |
Gets or Sets the Build version
|
![]() | CombineBuildAndRevision |
Sets whether to make the revision a combination of the Build and Revision.
|
![]() | DateFormat |
Sets the date format to use when using VersionFormat="DateTime". e.g. MMdd
|
![]() | Delimiter |
Sets the Delimiter to use in the version number. Default is .
|
![]() | Files |
Sets the files to version
|
![]() | ForceSetVersion |
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.
|
![]() | Major |
Sets the major version
|
![]() | Minor |
Sets the minor version
|
![]() | PaddingCount |
Sets the number of padding digits to use, e.g. 4
|
![]() | PaddingDigit |
Sets the padding digit to use, e.g. 0
|
![]() | Revision |
Gets or Sets the Revision version
|
![]() | SetAssemblyDescription |
Set to True to set the AssemblyDescription when calling SetVersion. Default is false.
|
![]() | SetAssemblyFileVersion |
Set to True to set the AssemblyFileVersion when calling SetVersion. Default is true.
|
![]() | SetAssemblyVersion |
Set to True to set the AssemblyVersion when calling SetVersion. Default is false.
|
![]() | StartDate |
Sets the start date to use when using VersionFormat="Elapsed"
|
![]() | TextEncoding |
Sets the file encoding. Default is UTF8
|
![]() | UseUtcDate |
Set to True to get the elapsed calculation using UTC Date Time. Default is false
|
![]() | Version |
Gets or Sets the Version
|
![]() | VersionFormat |
Sets the Version Format. Valid VersionFormats are Elapsed, DateTime. Default is DateTime
|
![]() | VersionTemplateFormat |
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"
|