Table of Contents

Interface IVersioningContext

Namespace
NoeticTools.Git2SemVer.Framework.Generation.Builders.Scripting
Assembly
NoeticTools.Git2SemVer.Framework.dll

The C# script runner. These properties are exposed as global when running from Git2SemVer/

public interface IVersioningContext

Properties

Git

Git tool for running git commands.

IGitTool Git { get; }

Property Value

IGitTool

Host

The build's host properties. Get build number here.

IBuildHost Host { get; }

Property Value

IBuildHost

Inputs

MSBuild input properties.

IVersionGeneratorInputs Inputs { get; }

Property Value

IVersionGeneratorInputs

Logger

MSBuild logger.

ILogger Logger { get; }

Property Value

ILogger

MsBuildGlobalProperties

IMSBuildGlobalProperties MsBuildGlobalProperties { get; }

Property Value

IMSBuildGlobalProperties

Outputs

Outputs that the C# script may use. Available to other MSBuild tasks as MSBuild properties.

IVersionOutputs Outputs { get; }

Property Value

IVersionOutputs