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
[deprecated] DotNetCoreBuild is obsolete and will be removed in a future release. Use DotNetBuild(ICakeContext, string) instead. Build all projects.
static
DotNetCoreBuild(ICakeContext, string, DotNetCoreBuildSettings) void
[deprecated] DotNetCoreBuild is obsolete and will be removed in a future release. Use DotNetBuild(ICakeContext, string, DotNetBuildSettings) instead. Build all projects.
static
DotNetCoreBuildServerShutdown(ICakeContext) void
[deprecated] DotNetCoreBuildServerShutdown is obsolete and will be removed in a future release. Use DotNetBuildServerShutdown(ICakeContext) instead. Shuts down build servers that are started from dotnet.
static
DotNetCoreBuildServerShutdown(ICakeContext, DotNetCoreBuildServerSettings) void
[deprecated] DotNetCoreBuildServerShutdown is obsolete and will be removed in a future release. Use DotNetBuildServerShutdown(ICakeContext, DotNetBuildServerShutdownSettings) instead. Shuts down build servers that are started from dotnet.
static
DotNetCoreClean(ICakeContext, string) void
[deprecated] DotNetCoreClean is obsolete and will be removed in a future release. Use DotNetClean(ICakeContext, string) instead. Cleans a project's output.
static
DotNetCoreClean(ICakeContext, string, DotNetCoreCleanSettings) void
[deprecated] DotNetCoreClean is obsolete and will be removed in a future release. Use DotNetClean(ICakeContext, string, DotNetCleanSettings) instead. Cleans a project's output.
static
DotNetCoreExecute(ICakeContext, FilePath) void
[deprecated] DotNetCoreExecute is obsolete and will be removed in a future release. Use DotNetExecute(ICakeContext, FilePath) instead. Execute an assembly.
static
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder) void
[deprecated] DotNetCoreExecute is obsolete and will be removed in a future release. Use DotNetExecute(ICakeContext, FilePath, ProcessArgumentBuilder) instead. Execute an assembly with arguments in the specific path.
static
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder, DotNetCoreExecuteSettings) void
[deprecated] DotNetCoreExecute is obsolete and will be removed in a future release. Use DotNetExecute(ICakeContext, FilePath, ProcessArgumentBuilder, DotNetExecuteSettings) instead. Execute an assembly with arguments in the specific path with settings.
static
DotNetCoreMSBuild(ICakeContext) void
[deprecated] DotNetCoreMSBuild is obsolete and will be removed in a future release. Use DotNetMSBuild(ICakeContext) instead. Builds the specified targets in a project file found in the current working directory.
static
DotNetCoreMSBuild(ICakeContext, DotNetCoreMSBuildSettings) void
[deprecated] DotNetCoreMSBuild is obsolete and will be removed in a future release. Use DotNetMSBuild(ICakeContext, DotNetMSBuildSettings) instead. Builds the specified targets in a project file found in the current working directory.
static
DotNetCoreMSBuild(ICakeContext, string) void
[deprecated] DotNetCoreMSBuild is obsolete and will be removed in a future release. Use DotNetMSBuild(ICakeContext, string) instead. Builds the specified targets in the project file.
static
DotNetCoreMSBuild(ICakeContext, string, DotNetCoreMSBuildSettings) void
[deprecated] DotNetCoreMSBuild is obsolete and will be removed in a future release. Use DotNetMSBuild(ICakeContext, string, DotNetMSBuildSettings) instead. Builds the specified targets in the project file.
static
DotNetCoreNuGetAddSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) void
[deprecated] DotNetCoreNuGetAddSource is obsolete and will be removed in a future release. Use DotNetNuGetAddSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Add the specified NuGet source.
static
DotNetCoreNuGetDelete(ICakeContext) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext) instead. Delete a NuGet Package from a server.
static
DotNetCoreNuGetDelete(ICakeContext, DotNetCoreNuGetDeleteSettings) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext, DotNetNuGetDeleteSettings) instead. Deletes a package from a server using the specified settings.
static
DotNetCoreNuGetDelete(ICakeContext, string) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext, string) instead. Deletes a package from nuget.org.
static
DotNetCoreNuGetDelete(ICakeContext, string, DotNetCoreNuGetDeleteSettings) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext, string, DotNetNuGetDeleteSettings) instead. Deletes a package from a server.
static
DotNetCoreNuGetDelete(ICakeContext, string, string) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext, string, string) instead. Deletes a specific version of a package from nuget.org.
static
DotNetCoreNuGetDelete(ICakeContext, string, string, DotNetCoreNuGetDeleteSettings) void
[deprecated] DotNetCoreNuGetDelete is obsolete and will be removed in a future release. Use DotNetNuGetDelete(ICakeContext, string, string, DotNetNuGetDeleteSettings) instead. Deletes a package from a server using the specified settings.
static
DotNetCoreNuGetDisableSource(ICakeContext, string) void
[deprecated] DotNetCoreNuGetDisableSource is obsolete and will be removed in a future release. Use DotNetNuGetDisableSource(ICakeContext, string) instead. Disable the specified NuGet source.
static
DotNetCoreNuGetDisableSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) void
[deprecated] DotNetCoreNuGetDisableSource is obsolete and will be removed in a future release. Use DotNetNuGetDisableSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Disable the specified NuGet source.
static
DotNetCoreNuGetEnableSource(ICakeContext, string) void
[deprecated] DotNetCoreNuGetEnableSource is obsolete and will be removed in a future release. Use DotNetNuGetEnableSource(ICakeContext, string) instead. Enable the specified NuGet source.
static
DotNetCoreNuGetEnableSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) void
[deprecated] DotNetCoreNuGetEnableSource is obsolete and will be removed in a future release. Use DotNetNuGetEnableSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Enable the specified NuGet source.
static
DotNetCoreNuGetHasSource(ICakeContext, string) bool
[deprecated] DotNetCoreNuGetHasSource is obsolete and will be removed in a future release. Use DotNetNuGetHasSource(ICakeContext, string) instead. Determines whether the specified NuGet source exists.
static
DotNetCoreNuGetHasSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) bool
[deprecated] DotNetCoreNuGetHasSource is obsolete and will be removed in a future release. Use DotNetNuGetHasSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Determines whether the specified NuGet source exists.
static
DotNetCoreNuGetPush(ICakeContext, FilePath) void
[deprecated] DotNetCoreNuGetPush is obsolete and will be removed in a future release. Use DotNetNuGetPush(ICakeContext, FilePath) instead. Pushes one or more packages to a server.
static
DotNetCoreNuGetPush(ICakeContext, FilePath, DotNetCoreNuGetPushSettings) void
[deprecated] DotNetCoreNuGetPush is obsolete and will be removed in a future release. Use DotNetNuGetPush(ICakeContext, FilePath, DotNetNuGetPushSettings) instead. Pushes one or more packages to a server using the specified settings.
static
DotNetCoreNuGetRemoveSource(ICakeContext, string) void
[deprecated] DotNetCoreNuGetRemoveSource is obsolete and will be removed in a future release. Use DotNetNuGetRemoveSource(ICakeContext, string) instead. Remove the specified NuGet source.
static
DotNetCoreNuGetRemoveSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) void
[deprecated] DotNetCoreNuGetRemoveSource is obsolete and will be removed in a future release. Use DotNetNuGetRemoveSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Remove the specified NuGet source.
static
DotNetCoreNuGetUpdateSource(ICakeContext, string, DotNetCoreNuGetSourceSettings) void
[deprecated] DotNetCoreNuGetUpdateSource is obsolete and will be removed in a future release. Use DotNetNuGetUpdateSource(ICakeContext, string, DotNetNuGetSourceSettings) instead. Update the specified NuGet source.
static
DotNetCorePack(ICakeContext, string) void
[deprecated] DotNetCorePack is obsolete and will be removed in a future release. Use DotNetPack(ICakeContext, string) instead. Package all projects.
static
DotNetCorePack(ICakeContext, string, DotNetCorePackSettings) void
[deprecated] DotNetCorePack is obsolete and will be removed in a future release. Use DotNetPack(ICakeContext, string, DotNetPackSettings) instead. Package all projects.
static
DotNetCorePublish(ICakeContext, string) void
[deprecated] DotNetCorePublish is obsolete and will be removed in a future release. Use DotNetPublish(ICakeContext, string) instead. Publish all projects.
static
DotNetCorePublish(ICakeContext, string, DotNetCorePublishSettings) void
[deprecated] DotNetCorePublish is obsolete and will be removed in a future release. Use DotNetPublish(ICakeContext, string, DotNetPublishSettings) instead. Publish all projects.
static
DotNetCoreRestore(ICakeContext) void
[deprecated] DotNetCoreRestore is obsolete and will be removed in a future release. Use DotNetRestore(ICakeContext) instead. Restore all NuGet Packages.
static
DotNetCoreRestore(ICakeContext, DotNetCoreRestoreSettings) void
[deprecated] DotNetCoreRestore is obsolete and will be removed in a future release. Use DotNetRestore(ICakeContext, DotNetRestoreSettings) instead. Restore all NuGet Packages with the settings.
static
DotNetCoreRestore(ICakeContext, string) void
[deprecated] DotNetCoreRestore is obsolete and will be removed in a future release. Use DotNetRestore(ICakeContext, string) instead. Restore all NuGet Packages in the specified path.
static
DotNetCoreRestore(ICakeContext, string, DotNetCoreRestoreSettings) void
[deprecated] DotNetCoreRestore is obsolete and will be removed in a future release. Use DotNetRestore(ICakeContext, string, DotNetRestoreSettings) instead. Restore all NuGet Packages in the specified path with settings.
static
DotNetCoreRun(ICakeContext) void
[deprecated] DotNetCoreRun is obsolete and will be removed in a future release. Use DotNetRun(ICakeContext) instead. Run all projects.
static
DotNetCoreRun(ICakeContext, string) void
[deprecated] DotNetCoreRun is obsolete and will be removed in a future release. Use DotNetRun(ICakeContext, string) instead. Run project.
static
DotNetCoreRun(ICakeContext, string, DotNetCoreRunSettings) void
[deprecated] DotNetCoreRun is obsolete and will be removed in a future release. Use DotNetRun(ICakeContext, string, DotNetRunSettings) instead. Run project with settings.
static
DotNetCoreRun(ICakeContext, string, ProcessArgumentBuilder) void
[deprecated] DotNetCoreRun is obsolete and will be removed in a future release. Use DotNetRun(ICakeContext, string, ProcessArgumentBuilder) instead. Run project with path and arguments.
static
DotNetCoreRun(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreRunSettings) void
[deprecated] DotNetCoreRun is obsolete and will be removed in a future release. Use DotNetRun(ICakeContext, string, ProcessArgumentBuilder, DotNetRunSettings) instead. Run project with settings.
static
DotNetCoreTest(ICakeContext) void
[deprecated] DotNetCoreTest is obsolete and will be removed in a future release. Use DotNetTest(ICakeContext) instead. Test project.
static
DotNetCoreTest(ICakeContext, string) void
[deprecated] DotNetCoreTest is obsolete and will be removed in a future release. Use DotNetTest(ICakeContext, string) instead. Test project with path.
static
DotNetCoreTest(ICakeContext, string, DotNetCoreTestSettings) void
[deprecated] DotNetCoreTest is obsolete and will be removed in a future release. Use DotNetTest(ICakeContext, string, DotNetTestSettings) instead. Test project with settings.
static
DotNetCoreTest(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreTestSettings) void
[deprecated] DotNetCoreTest is obsolete and will be removed in a future release. Use DotNetTest(ICakeContext, string, ProcessArgumentBuilder, DotNetTestSettings) instead. Test project with settings.
static
DotNetCoreTool(ICakeContext, FilePath, string) void
[deprecated] DotNetCoreTool is obsolete and will be removed in a future release. Use DotNetTool(ICakeContext, FilePath, string) instead. Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder) void
[deprecated] DotNetCoreTool is obsolete and will be removed in a future release. Use DotNetTool(ICakeContext, FilePath, string, ProcessArgumentBuilder) instead. Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder, DotNetCoreToolSettings) void
[deprecated] DotNetCoreTool is obsolete and will be removed in a future release. Use DotNetTool(ICakeContext, FilePath, string, ProcessArgumentBuilder, DotNetToolSettings) instead. Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, string) void
[deprecated] DotNetCoreTool is obsolete and will be removed in a future release. Use DotNetTool(ICakeContext, string) instead. Execute an .NET Core Extensibility Tool.
static
DotNetCoreTool(ICakeContext, string, DotNetCoreToolSettings) void
[deprecated] DotNetCoreTool is obsolete and will be removed in a future release. Use DotNetTool(ICakeContext, string, DotNetToolSettings) instead. Execute an .NET Core Extensibility Tool.
static
DotNetCoreVSTest(ICakeContext, GlobPattern) void
[deprecated] DotNetCoreVSTest is obsolete and will be removed in a future release. Use DotNetVSTest(ICakeContext, GlobPattern) instead. Test one or more projects specified by a path or glob pattern using the VS Test host runner.
static
DotNetCoreVSTest(ICakeContext, GlobPattern, DotNetCoreVSTestSettings) void
[deprecated] DotNetCoreVSTest is obsolete and will be removed in a future release. Use DotNetVSTest(ICakeContext, GlobPattern, DotNetVSTestSettings) instead. Test one or more projects specified by a path or glob pattern with settings using the VS Test host runner.
static
DotNetCoreVSTest(ICakeContext, IEnumerable<FilePath>, DotNetCoreVSTestSettings) void
[deprecated] DotNetCoreVSTest is obsolete and will be removed in a future release. Use DotNetVSTest(ICakeContext, IEnumerable<FilePath>, DotNetVSTestSettings) instead. Test one or more specified projects with settings using the VS Test host runner.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin