Skip to content

ICreateDotNetTemplates Interface

Definition

A build which creates .NET templates.

C#
public interface ICreateDotNetTemplates : IPack, ICompile, IHasGitVersion, IRestore, IHasArtifacts, INukeBuild

Properties

TemplatePackageID

Gets the NuGet package ID containing the templates.

C#
string TemplatePackageID { get; }

TemplateTag

Gets a tag the templates use.

C#
string TemplateTag { get; }

CleanNuGet

Gets the target to clean the NuGet output directory.

C#
Target CleanNuGet { get; }

UninstallNuGet

Gets the target to uninstall the templates.

C#
Target UninstallNuGet { get; }

InstallNuGet

Gets the target to install the templates.

C#
Target InstallNuGet { get; }

Methods

RunUninstallNuGet(string, string)

Uninstalls templates.

C#
void RunUninstallNuGet(string tag, string packageId)

Parameters

tag string
The template tag.

packageId string
The NuGet package ID.

RunInstallNuGet()

Installs templates.

C#
void RunInstallNuGet()