Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionTypeUsage Example (given "1.2.3.4")
BuildThe build component of the version numberInteger$Build.Version.Default.Build$"3" (given "1.2.3.4")
MajorThe major component of the version numberInteger$Build.Version.Default.Major$"1" (given "1.2.3.4")
MinorThe minor component of the version numberInteger$Build.Version.Default.Minor$"2" (given "1.2.3.4")
RevisionThe revision component of the version numberInteger$Build.Version.Default.Revision$"4" (given "1.2.3.4")


Anchor
Semantic
Semantic
Semantic Properties

NameDescriptionTypeUsage Example
BuildThe build component of the version number
(given "1.2.1287-beta+meta")
IsPrereleaseTrue if pre-release labels exist for the versionBoolean
Integer
$Build.Version.Semantic.
Build$"0" (given "1.2.0.1287-beta")
IsPrerelease$True
HasMetaDataTrue if metadata exists for the versionBoolean$Build.Version.Semantic.IsPrerelease$True
MajorThe major
component 
component of the version numberInteger$Build.Version.Semantic.Major$
"1" (given "1.2.0.1287-beta")
1
MetaDataThe metadata string after the plus at the end of the version numberString$Build.Version.Semantic.MetaData$"meta"
MinorThe minor component of the version numberInteger$Build.Version.Semantic.Minor$
"
2
" (given "1.2.0.1287-beta")RevisionThe revision component 
PatchThe patch component of the version numberInteger$Build.Version.Semantic.Revision$
"
1287
" (given "1.2.0.1287-beta")SpecialVersionAn arbitrary string at the end of the version number
ReleaseThe full pre-release label for the versionString$Build.Version.Semantic.Revision$"beta
" (given
"
1.2.0.1287-beta")