DotNetCoreAliases Class

Summary

Contains functionality related to .NET Core CLI.

In order to use the commands for this alias, the .Net Core CLI tools will need to be installed on the machine where the Cake script is being executed. See this page for information on how to install.

Namespace
Cake.Common.Tools.DotNetCore
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetCoreAliases"] class Type type-node

Syntax

[CakeAliasCategory("DotNetCore")]
public static class DotNetCoreAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
DotNetCoreBuild(ICakeContext, string) void
Build all projects.
static
DotNetCoreBuild(ICakeContext, string, DotNetCoreBuildSettings) void
Build all projects.
static
DotNetCoreBuildServerShutdown(ICakeContext) void
Shuts down build servers that are started from dotnet.
static
DotNetCoreBuildServerShutdown(ICakeContext, DotNetCoreBuildServerSettings) void
Shuts down build servers that are started from dotnet.
static
DotNetCoreClean(ICakeContext, string) void
Cleans a project's output.
static
DotNetCoreClean(ICakeContext, string, DotNetCoreCleanSettings) void
Cleans a project's output.
static
DotNetCoreExecute(ICakeContext, FilePath) void
Execute an assembly.
static
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder) void
Execute an assembly with arguments in the specific path.
static
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder, DotNetCoreExecuteSettings) void
Execute an assembly with arguments in the specific path with settings.
static
DotNetCoreMSBuild(ICakeContext) void
Builds the specified targets in a project file found in the current working directory.
static
DotNetCoreMSBuild(ICakeContext, DotNetCoreMSBuildSettings) void
Builds the specified targets in a project file found in the current working directory.
static
DotNetCoreMSBuild(ICakeContext, string) void
Builds the specified targets in the project file.
static
DotNetCoreMSBuild(ICakeContext, string, DotNetCoreMSBuildSettings) void
Builds the specified targets in the project file.
static
DotNetCoreNuGetDelete(ICakeContext) void
Delete a NuGet Package from a server.
static
DotNetCoreNuGetDelete(ICakeContext, DotNetCoreNuGetDeleteSettings) void
Deletes a package from a server using the specified settings.
static
DotNetCoreNuGetDelete(ICakeContext, string) void
Deletes a package from nuget.org.
static
DotNetCoreNuGetDelete(ICakeContext, string, DotNetCoreNuGetDeleteSettings) void
Deletes a package from a server
static
DotNetCoreNuGetDelete(ICakeContext, string, string) void
Deletes a specific version of a package from nuget.org.
static
DotNetCoreNuGetDelete(ICakeContext, string, string, DotNetCoreNuGetDeleteSettings) void
Deletes a package from a server using the specified settings.
static
DotNetCoreNuGetPush(ICakeContext, string) void
Pushes one or more packages to a server.
static
DotNetCoreNuGetPush(ICakeContext, string, DotNetCoreNuGetPushSettings) void
Pushes one or more packages to a server using the specified settings.
static
DotNetCorePack(ICakeContext, string) void
Package all projects.
static
DotNetCorePack(ICakeContext, string, DotNetCorePackSettings) void
Package all projects.
static
DotNetCorePublish(ICakeContext, string) void
Publish all projects.
static
DotNetCorePublish(ICakeContext, string, DotNetCorePublishSettings) void
Publish all projects.
static
DotNetCoreRestore(ICakeContext) void
Restore all NuGet Packages.
static
DotNetCoreRestore(ICakeContext, DotNetCoreRestoreSettings) void
Restore all NuGet Packages with the settings.
static
DotNetCoreRestore(ICakeContext, string) void
Restore all NuGet Packages in the specified path.
static
DotNetCoreRestore(ICakeContext, string, DotNetCoreRestoreSettings) void
Restore all NuGet Packages in the specified path with settings.
static
DotNetCoreRun(ICakeContext) void
Run all projects.
static
DotNetCoreRun(ICakeContext, string) void
Run project.
static
DotNetCoreRun(ICakeContext, string, ProcessArgumentBuilder) void
Run project with path and arguments.
static
DotNetCoreRun(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreRunSettings) void
Run project with settings.
static
DotNetCoreTest(ICakeContext) void
Test project.
static
DotNetCoreTest(ICakeContext, string) void
Test project with path.
static
DotNetCoreTest(ICakeContext, string, DotNetCoreTestSettings) void
Test project with settings.
static
DotNetCoreTool(ICakeContext, FilePath, string) void
Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder) void
Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder, DotNetCoreToolSettings) void
Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, string) void
Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, string, DotNetCoreToolSettings) void
Execute an .NET Core Extensibility Tool.
static
DotNetCoreVSTest(ICakeContext, IEnumerable<FilePath>, DotNetCoreVSTestSettings) void
Test one or more specified projects with settings using the VS Test host runner.
static
DotNetCoreVSTest(ICakeContext, string) void
Test one or more projects specified by a path or glob pattern using the VS Test host runner.
static
DotNetCoreVSTest(ICakeContext, string, DotNetCoreVSTestSettings) void
Test one or more projects specified by a path or glob pattern with settings using the VS Test host runner.
static