DotNetCoreAliases.

DotNetCoreBuildServerShutdown(ICakeContext, DotNetCoreBuildServerSettings) Method

Summary

Shuts down build servers that are started from dotnet.

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Build Server")]
[CakeNamespaceImport("Cake.Common.Tools.DotNetCore.BuildServer")]
public static void DotNetCoreBuildServerShutdown(this ICakeContext context, DotNetCoreBuildServerSettings settings)

Examples

 var settings = new DotNetCoreBuildServerSettings
 {
     MSBuild = true
 };

 DotNetCoreBuildServerShutdown(settings);

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports

Parameters

Name Type Description
context ICakeContext The context.
settings DotNetCoreBuildServerSettings The settings.

Return Value

Type Description
void