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 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
DotNetNuGetAddSource |
Add the specified NuGet source. |
DotNetNuGetDelete |
Deletes a package from a server using the specified settings. |
DotNetNuGetDelete |
Deletes a package from a server. |
DotNetNuGetDelete |
Deletes a package from a server using the specified settings. |
DotNetNuGetDelete |
Deletes a specific version of a package from nuget.org. |
DotNetNuGetDelete |
Deletes a package from nuget.org. |
DotNetNuGetDelete |
Delete a NuGet Package from a server. |
Dot |
Disable the specified NuGet source. |
Dot |
Disable the specified NuGet source. |
Dot |
Enable the specified NuGet source. |
Dot |
Enable the specified NuGet source. |
DotNetNuGetHasSource |
Determines whether the specified NuGet source exists. |
DotNetNuGetHasSource |
Determines whether the specified NuGet source exists. |
DotNetNuGetPush |
Pushes one or more packages to a server using the specified settings. |
DotNetNuGetPush |
Pushes one or more packages to a server. |
Dot |
Remove the specified NuGet source. |
Dot |
Remove the specified NuGet source. |
Dot |
Update the specified NuGet source. |
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. |
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. |
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. |
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. |
SDK
DotNetSDKCheck |
Lists the latest available version of the .NET SDK and .NET Runtime. |
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. |
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. |