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
CommitDate string
CommitsSinceVersionSource string
EscapedBranchName string
FullBuildMetaData string
FullSemVer string
HostObject ITaskHost
Inherited from GitVersionTaskBase
InformationalVersion string
Log TaskLoggingHelper
Inherited from GitVersionTaskBase
Major string
MajorMinorPatch string
Minor string
Overrides Action<IServiceCollection>?
Inherited from GitVersionTaskBase
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
WithOverrides(Action<IServiceCollection>) void
Inherited from GitVersionTaskBase

Extension Methods

Name Value Summary
NotNull<GetVersion>(string) T
GitHub