Built-In
Contains functionality related to .NET CLI.
In order to use the commands for this alias, the .NET 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.
Build
|
DotNetBuild |
Build all projects. |
|
DotNetBuild |
Build all projects. |
Build Server
|
Dot |
Shuts down build servers that are started from dotnet. |
|
Dot |
Shuts down build servers that are started from dotnet. |
Clean
|
DotNetClean |
Cleans a project's output. |
|
DotNetClean |
Cleans a project's output. |
Execute
|
DotNetExecute |
Execute an assembly with arguments in the specific path with settings. |
|
DotNetExecute |
Execute an assembly with arguments in the specific path. |
|
DotNetExecute |
Execute an assembly. |
Format
|
DotNetFormat |
Formats code to match editorconfig settings. |
|
DotNetFormat |
Formats code to match editorconfig settings. |
|
Dot |
Format code to match editorconfig settings for analyzers. |
|
Dot |
Format code to match editorconfig settings for analyzers. |
|
DotNetFormatStyle |
Format code to match editorconfig settings for code style. |
|
DotNetFormatStyle |
Format code to match editorconfig settings for code style. |
|
Dot |
Format code to match editorconfig settings for whitespace. |
|
Dot |
Format code to match editorconfig settings for whitespace. |
MSBuild
|
DotNetMSBuild |
Builds the specified targets in a project file found in the current working directory. |
|
DotNetMSBuild |
Builds the specified targets in a project file found in the current working directory. |
|
DotNetMSBuild |
Builds the specified targets in the project file. |
|
DotNetMSBuild |
Builds the specified targets in the project file. |
|
DotNetMSBuild |
Builds the specified targets in the project file. |
|
DotNetMSBuild |
Builds the specified targets in a project file found in the current working directory. |
NuGet
Pack
|
DotNetPack |
Package all projects. |
|
DotNetPack |
Package all projects. |
Package
|
DotNetAddPackage |
Adds or updates a package reference in a project file. |
|
DotNetAddPackage |
Adds or updates a package reference in a project file. |
|
DotNetAddPackage |
Adds or updates a package reference in a project file. |
|
DotNetAddPackage |
Adds or updates a package reference in a project file. |
|
Dot |
Downloads NuGet packages to the specified directory without changing project references. |
|
Dot |
Downloads NuGet packages to disk without changing project references. |
|
Dot |
Downloads a NuGet package to the specified directory without changing project references. |
|
Dot |
Downloads a NuGet package to disk without changing project references. |
|
Dot |
Downloads a NuGet package to disk without changing project references. |
|
DotNetListPackage |
Lists the package references for a project or solution. |
|
DotNetListPackage |
Lists the package references for a project or solution. |
|
DotNetListPackage |
Lists the package references for a project or solution. |
|
DotNetRemovePackage |
Removes package reference from a project file. |
|
DotNetRemovePackage |
Removes package reference from a project file. |
|
DotNetRemovePackage |
Removes package reference from a project file. |
|
DotNetSearchPackage |
List packages on available from source using specified settings. |
|
DotNetSearchPackage |
List packages on available from source using specified settings. |
|
DotNetSearchPackage |
List packages on available from source using specified settings. |
|
DotNetUpdatePackage |
Updates referenced packages in a project. |
|
DotNetUpdatePackage |
Updates package references in a project. |
|
DotNetUpdatePackage |
Updates package references in a project. |
|
DotNetUpdatePackage |
Updates package references in a project. |
|
DotNetUpdatePackage |
Updates package references in a project. |
|
DotNetUpdatePackage |
Updates a package reference in a project. |
|
DotNetUpdatePackage |
Updates a package reference in a project. |
|
DotNetUpdatePackage |
Updates a package reference in a project. |
|
DotNetUpdatePackage |
Updates a package reference in a project. |
|
DotNetUpdatePackage |
Updates referenced packages in a project. |
Project
|
DotNetProjectConvert |
Converts a file-based program to a project-based program. |
|
DotNetProjectConvert |
Converts a file-based program to a project-based program. |
Publish
|
DotNetPublish |
Publish all projects. |
|
DotNetPublish |
Publish all projects. |
Reference
Restore
|
DotNetRestore |
Restore all NuGet Packages with the settings. |
|
DotNetRestore |
Restore all NuGet Packages in the specified path with settings. |
|
DotNetRestore |
Restore all NuGet Packages in the specified path. |
|
DotNetRestore |
Restore all NuGet Packages. |
Run
|
DotNetRun |
Run project with settings. |
|
DotNetRun |
Run project with settings. |
|
DotNetRun |
Run project with path and arguments. |
|
DotNetRun |
Run project. |
|
DotNetRun |
Run all projects. |
|
DotNetRunCode |
Run C# source from standard input with settings. |
|
DotNetRunCode |
Run C# source from standard input with arguments and settings. |
|
DotNetRunCode |
Run C# source from standard input with arguments. |
|
DotNetRunCode |
Run C# source from standard input. |
SDK
|
DotNetSDKCheck |
Lists the latest available version of the .NET SDK and .NET Runtime. |
Sln
|
DotNetSlnAdd |
Adds one or more projects to the solution file. |
|
DotNetSlnAdd |
Adds one or more projects to the solution file. |
|
DotNetSlnAdd |
Adds one or more projects to the solution file. |
|
DotNetSlnAdd |
Adds one or more projects to the solution file. |
|
DotNetSlnList |
Lists all projects in a solution file. |
|
DotNetSlnList |
Lists all projects in a solution file. |
|
DotNetSlnList |
Lists all projects in a solution file. |
|
DotNetSlnMigrate |
Generates a .slnx file from the specified .sln file. |
|
DotNetSlnMigrate |
Generates a .slnx file from the specified .sln file. |
|
DotNetSlnMigrate |
Generates a .slnx file from a .sln file in the current directory. |
|
DotNetSlnRemove |
Removes a project or multiple projects from the solution file. |
|
DotNetSlnRemove |
Removes a project or multiple projects from the solution file. |
|
DotNetSlnRemove |
Removes a project or multiple projects from the solution file. |
Test
|
DotNetTest |
Test project with settings. |
|
DotNetTest |
Test project with settings. |
|
DotNetTest |
Test project with path. |
|
DotNetTest |
Test project. |
|
DotNetVSTest |
Test one or more projects specified by a path or glob pattern with settings using the VS Test host runner. |
|
DotNetVSTest |
Test one or more projects specified by a path or glob pattern using the VS Test host runner. |
|
DotNetVSTest |
Test one or more specified projects with settings using the VS Test host runner. |
Tool
|
DotNetTool |
Execute an .NET Core Extensibility Tool. |
|
DotNetTool |
Execute an .NET Core Extensibility Tool. |
|
DotNetTool |
Execute an .NET Core Extensibility Tool. |
|
DotNetTool |
Execute an .NET Core Extensibility Tool. |
|
DotNetTool |
Execute an .NET Core Extensibility Tool. |
|
DotNetToolExecute |
Executes a .NET tool package with dotnet tool exec.
|
|
DotNetToolExecute |
Executes a .NET tool package with dotnet tool exec.
|
|
DotNetToolExecute |
Executes a .NET tool package with dotnet tool exec.
|
|
DotNetToolExecute |
Executes a .NET tool package with dotnet tool exec.
|
|
DotNetToolInstall |
Installs a .NET tool package with dotnet tool install.
|
|
DotNetToolInstall |
Installs a .NET tool package with dotnet tool install.
|
|
DotNetToolList |
Lists .NET tools with dotnet tool list.
|
|
DotNetToolList |
Lists a .NET tool package with dotnet tool list.
|
|
DotNetToolList |
Lists a .NET tool package with dotnet tool list.
|
|
DotNetToolList |
Lists .NET tools with dotnet tool list.
|
|
DotNetToolRestore |
Restores .NET tools with dotnet tool restore.
|
|
DotNetToolRestore |
Restores .NET tools with dotnet tool restore.
|
|
DotNetToolRun |
Runs a local .NET tool with dotnet tool run.
|
|
DotNetToolRun |
Runs a local .NET tool with dotnet tool run.
|
|
DotNetToolRun |
Runs a local .NET tool with dotnet tool run.
|
|
DotNetToolRun |
Runs a local .NET tool with dotnet tool run.
|
|
DotNetToolSearch |
Searches for .NET tool packages with dotnet tool search.
|
|
DotNetToolSearch |
Searches for .NET tool packages with dotnet tool search.
|
|
DotNetToolUninstall |
Uninstalls a .NET tool package with dotnet tool uninstall.
|
|
DotNetToolUninstall |
Uninstalls a .NET tool package with dotnet tool uninstall.
|
|
DotNetToolUpdate |
Updates .NET tool packages with dotnet tool update.
|
|
DotNetToolUpdate |
Updates a .NET tool package with dotnet tool update.
|
|
DotNetToolUpdate |
Updates a .NET tool package with dotnet tool update.
|
|
DotNetToolUpdate |
Updates .NET tool packages with dotnet tool update.
|
Workload
|
Dot |
Installs one or more optional workloads. |
|
Dot |
Installs one or more optional workloads. |
|
Dot |
Installs a specified optional workload. |
|
Dot |
Installs a specified optional workload. |
|
DotNetWorkloadList |
Lists all installed workloads. |
|
DotNetWorkloadList |
Lists all installed workloads. |
|
DotNetWorkloadRepair |
Repairs all workloads installations. |
|
DotNetWorkloadRepair |
Repairs all workloads installations. |
|
Dot |
Installs workloads needed for a project or a solution. |
|
Dot |
Installs workloads needed for a project or a solution. |
|
DotNetWorkloadSearch |
Lists available workloads by specifying all or part of the workload ID. |
|
DotNetWorkloadSearch |
Lists available workloads by specifying all or part of the workload ID. |
|
DotNetWorkloadSearch |
Lists available workloads. |
|
Dot |
Uninstalls one or more workloads. |
|
Dot |
Uninstalls a specified workload. |
|
DotNetWorkloadUpdate |
Updates all installed workloads to the newest available version. |
|
DotNetWorkloadUpdate |
Updates all installed workloads to the newest available version. |
