Summary
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.
- Namespace
- Cake
.Common .Tools .DotNet - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DotNetAliases"]
class Type type-node
Syntax
[CakeAliasCategory("DotNet")]
public static class DotNetAliases
Attributes
Type | Description |
---|---|
Cake |
An attribute used for documentation of alias methods/properties. |
Methods
Name | Value | Summary |
---|---|---|
DotNetBuild |
void |
Build all projects.
static
|
DotNetBuild |
void |
Build all projects.
static
|
Dot |
void |
Shuts down build servers that are started from dotnet.
static
|
Dot |
void |
Shuts down build servers that are started from dotnet.
static
|
DotNetClean |
void |
Cleans a project's output.
static
|
DotNetClean |
void |
Cleans a project's output.
static
|
DotNetExecute |
void |
Execute an assembly.
static
|
DotNetExecute |
void |
Execute an assembly with arguments in the specific path.
static
|
DotNetExecute |
void |
Execute an assembly with arguments in the specific path with settings.
static
|
DotNetFormat |
void |
Formats code to match editorconfig settings.
static
|
DotNetFormat |
void |
Formats code to match editorconfig settings.
static
|
Dot |
void |
Format code to match editorconfig settings for analyzers.
static
|
Dot |
void |
Format code to match editorconfig settings for analyzers.
static
|
DotNetFormatStyle |
void |
Format code to match editorconfig settings for code style.
static
|
DotNetFormatStyle |
void |
Format code to match editorconfig settings for code style.
static
|
Dot |
void |
Format code to match editorconfig settings for whitespace.
static
|
Dot |
void |
Format code to match editorconfig settings for whitespace.
static
|
DotNetMSBuild |
void |
Builds the specified targets in a project file found in the current working directory.
static
|
DotNetMSBuild |
void |
Builds the specified targets in a project file found in the current working directory.
static
|
DotNetMSBuild |
void |
Builds the specified targets in the project file.
static
|
DotNetMSBuild |
void |
Builds the specified targets in the project file.
static
|
DotNetNuGetAddSource |
void |
Add the specified NuGet source.
static
|
DotNetNuGetDelete |
void |
Delete a NuGet Package from a server.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server using the specified settings.
static
|
DotNetNuGetDelete |
void |
Deletes a package from nuget.org.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server.
static
|
DotNetNuGetDelete |
void |
Deletes a specific version of a package from nuget.org.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server using the specified settings.
static
|
Dot |
void |
Disable the specified NuGet source.
static
|
Dot |
void |
Disable the specified NuGet source.
static
|
Dot |
void |
Enable the specified NuGet source.
static
|
Dot |
void |
Enable the specified NuGet source.
static
|
DotNetNuGetHasSource |
bool |
Determines whether the specified NuGet source exists.
static
|
DotNetNuGetHasSource |
bool |
Determines whether the specified NuGet source exists.
static
|
DotNetNuGetPush |
void |
Pushes one or more packages to a server.
static
|
DotNetNuGetPush |
void |
Pushes one or more packages to a server using the specified settings.
static
|
Dot |
void |
Remove the specified NuGet source.
static
|
Dot |
void |
Remove the specified NuGet source.
static
|
Dot |
void |
Update the specified NuGet source.
static
|
DotNetPack |
void |
Package all projects.
static
|
DotNetPack |
void |
Package all projects.
static
|
DotNetPublish |
void |
Publish all projects.
static
|
DotNetPublish |
void |
Publish all projects.
static
|
DotNetRestore |
void |
Restore all NuGet Packages.
static
|
DotNetRestore |
void |
Restore all NuGet Packages with the settings.
static
|
DotNetRestore |
void |
Restore all NuGet Packages in the specified path.
static
|
DotNetRestore |
void |
Restore all NuGet Packages in the specified path with settings.
static
|
DotNetRun |
void |
Run all projects.
static
|
DotNetRun |
void |
Run project.
static
|
DotNetRun |
void |
Run project with settings.
static
|
DotNetRun |
void |
Run project with path and arguments.
static
|
DotNetRun |
void |
Run project with settings.
static
|
DotNetSDKCheck |
void |
Lists the latest available version of the .NET SDK and .NET Runtime.
static
|
DotNetTest |
void |
Test project.
static
|
DotNetTest |
void |
Test project with path.
static
|
DotNetTest |
void |
Test project with settings.
static
|
DotNetTest |
void |
Test project with settings.
static
|
DotNetTool |
void |
Execute an .NET Core Extensibility Tool.
static
|
DotNetTool |
void |
Execute an .NET Core Extensibility Tool.
static
|
DotNetTool |
void |
Execute an .NET Core Extensibility Tool.
static
|
DotNetTool |
void |
Execute an .NET Core Extensibility Tool.
static
|
DotNetTool |
void |
Execute an .NET Core Extensibility Tool.
static
|
DotNetVSTest |
void |
Test one or more projects specified by a path or glob pattern using the VS Test host runner.
static
|
DotNetVSTest |
void |
Test one or more projects specified by a path or glob pattern with settings using the VS Test host runner.
static
|
DotNetVSTest |
void |
Test one or more specified projects with settings using the VS Test host runner.
static
|
DotNetWorkloadSearch |
IEnumerable |
Lists available workloads.
static
|
DotNetWorkloadSearch |
IEnumerable |
Lists available workloads by specifying all or part of the workload ID.
static
|
DotNetWorkloadSearch |
IEnumerable |
Lists available workloads by specifying all or part of the workload ID.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|