Show / Hide Table of Contents

Class NerdbankGitVersioningTasksExt

Extended variant of the base Nuke.Common.Tools.NerdbankGitVersioning.NerdbankGitVersioningTasks class.

Inheritance
object
NerdbankGitVersioningTasksExt
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.Components.dll
Syntax
public static class NerdbankGitVersioningTasksExt
Remarks

Adapted from https://github.com/nuke-build/nuke/blob/develop/source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioningTasks.cs

Properties

View Source

InstalledToolPath

Gets the installed tool path.

Declaration
public static AbsolutePath InstalledToolPath { get; }
Property Value
Type Description
AbsolutePath

Methods

View Source

GetVersion(string?)

Gets the NerdBank GitVersioning version details.

Declaration
public static NerdbankGitVersioningExt GetVersion(string? solutionDir = null)
Parameters
Type Name Description
string solutionDir

The solution directory.

Returns
Type Description
NerdbankGitVersioningExt

The NerdBank GitVersioning version details.

View Source

Install()

Installs the NerdBank GitVersioning global tool.

Declaration
public static void Install()
View Source

SetVersion(string, AbsolutePath?)

Sets the NerdBank GitVersioning version.

Declaration
public static void SetVersion(string version, AbsolutePath? solutionDir = null)
Parameters
Type Name Description
string version

The version to set.

AbsolutePath solutionDir

The solution directory.

  • View Source
In this article
Back to top Generated by DocFX