GetVersion Class

Namespace
GitVersion.MsBuild.Tasks
Base Types
graph BT Type-->Base0["GitVersionTaskBase"] click Base0 "/api/GitVersion.MsBuild/GitVersionTaskBase" Base0-->Base1["ITask"] Type["GetVersion"] class Type type-node

Syntax

public class GetVersion : GitVersionTaskBase

Properties

Name Value Summary
AssemblySemFileVer string
AssemblySemVer string
BranchName string
BuildEngine IBuildEngine
Inherited from GitVersionTaskBase
BuildMetaData string
BuildMetaDataPadded string
CommitDate string
CommitsSinceVersionSource string
CommitsSinceVersionSourcePadded string
EscapedBranchName string
FullBuildMetaData string
FullSemVer string
HostObject ITaskHost
Inherited from GitVersionTaskBase
InformationalVersion string
LegacySemVer string
LegacySemVerPadded string
Log TaskLoggingHelper
Inherited from GitVersionTaskBase
Major string
MajorMinorPatch string
Minor string
NuGetPreReleaseTag string
NuGetPreReleaseTagV2 string
NuGetVersion string
NuGetVersionV2 string
Patch string
PreReleaseLabel string
PreReleaseLabelWithDash string
PreReleaseNumber string
PreReleaseTag string
PreReleaseTagWithDash string
SemVer string
Sha string
ShortSha string
SolutionDirectory string
Inherited from GitVersionTaskBase
UncommittedChanges string
VersionFile string
Inherited from GitVersionTaskBase
VersionSourceSha string
WeightedPreReleaseNumber string

Methods

Name Value Summary
Execute() bool
Inherited from GitVersionTaskBase
OnExecute() bool

Extension Methods

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>
NotNull<GetVersion>(string) T
GitHub