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 |
---|---|---|
DotNetAddPackage |
void |
Adds or updates a package reference in a project file.
static
|
DotNetAddPackage |
void |
Adds or updates a package reference in a project file.
static
|
DotNetAddPackage |
void |
Adds or updates a package reference in a project file.
static
|
DotNetAddPackage |
void |
Adds or updates a package reference in a project file.
static
|
DotNetAddReference |
void |
Adds project-to-project (P2P) references.
static
|
DotNetAddReference |
void |
Adds project-to-project (P2P) references.
static
|
DotNetAddReference |
void |
Adds project-to-project (P2P) references.
static
|
DotNetAddReference |
void |
Adds project-to-project (P2P) references.
static
|
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 with arguments in the specific path with settings.
static
|
DotNetExecute |
void |
Execute an assembly with arguments in the specific path.
static
|
DotNetExecute |
void |
Execute an assembly.
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
|
DotNetListPackage |
DotNetPackageList |
Lists the package references for a project or solution.
static
|
DotNetListPackage |
DotNetPackageList |
Lists the package references for a project or solution.
static
|
DotNetListPackage |
DotNetPackageList |
Lists the package references for a project or solution.
static
|
DotNetListReference |
IEnumerable |
Lists project-to-project references.
static
|
DotNetListReference |
IEnumerable |
Lists project-to-project references.
static
|
DotNetListReference |
IEnumerable |
Lists project-to-project references.
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
|
DotNetMSBuild |
void |
Builds the specified targets in a project file found in the current working directory.
static
|
DotNetNuGetAddSource |
void |
Add the specified NuGet source.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server using the specified settings.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server.
static
|
DotNetNuGetDelete |
void |
Deletes a package from a server using the specified settings.
static
|
DotNetNuGetDelete |
void |
Deletes a specific version of a package from nuget.org.
static
|
DotNetNuGetDelete |
void |
Deletes a package from nuget.org.
static
|
DotNetNuGetDelete |
void |
Delete a NuGet Package from a server.
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 using the specified settings.
static
|
DotNetNuGetPush |
void |
Pushes one or more packages to a server.
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
|
DotNetRemovePackage |
void |
Removes package reference from a project file.
static
|
DotNetRemovePackage |
void |
Removes package reference from a project file.
static
|
Dot |
void |
Removes project-to-project (P2P) references.
static
|
Dot |
void |
Removes project-to-project (P2P) references.
static
|
Dot |
void |
Removes project-to-project (P2P) references.
static
|
Dot |
void |
Removes project-to-project (P2P) references.
static
|
DotNetRestore |
void |
Restore all NuGet Packages with the settings.
static
|
DotNetRestore |
void |
Restore all NuGet Packages in the specified path with settings.
static
|
DotNetRestore |
void |
Restore all NuGet Packages in the specified path.
static
|
DotNetRestore |
void |
Restore all NuGet Packages.
static
|
DotNetRun |
void |
Run project with settings.
static
|
DotNetRun |
void |
Run project with settings.
static
|
DotNetRun |
void |
Run project with path and arguments.
static
|
DotNetRun |
void |
Run project.
static
|
DotNetRun |
void |
Run all projects.
static
|
DotNetSDKCheck |
void |
Lists the latest available version of the .NET SDK and .NET Runtime.
static
|
DotNetSearchPackage |
IEnumerable |
List packages on available from source using specified settings.
static
|
DotNetSearchPackage |
IEnumerable |
List packages on available from source using specified settings.
static
|
DotNetSearchPackage |
IEnumerable |
List packages on available from source using specified settings.
static
|
DotNetSlnAdd |
void |
Adds one or more projects to the solution file.
static
|
DotNetSlnAdd |
void |
Adds one or more projects to the solution file.
static
|
DotNetSlnAdd |
void |
Adds one or more projects to the solution file.
static
|
DotNetSlnAdd |
void |
Adds one or more projects to the solution file.
static
|
DotNetSlnList |
IEnumerable |
Lists all projects in a solution file.
static
|
DotNetSlnList |
IEnumerable |
Lists all projects in a solution file.
static
|
DotNetSlnList |
IEnumerable |
Lists all projects in a solution file.
static
|
DotNetTest |
void |
Test project with settings.
static
|
DotNetTest |
void |
Test project with settings.
static
|
DotNetTest |
void |
Test project with path.
static
|
DotNetTest |
void |
Test project.
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 with settings using the VS Test host runner.
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 specified projects with settings using the VS Test host runner.
static
|
Dot |
void |
Installs one or more optional workloads.
static
|
Dot |
void |
Installs one or more optional workloads.
static
|
Dot |
void |
Installs a specified optional workload.
static
|
Dot |
void |
Installs a specified optional workload.
static
|
DotNetWorkloadList |
IEnumerable |
Lists all installed workloads.
static
|
DotNetWorkloadList |
IEnumerable |
Lists all installed workloads.
static
|
DotNetWorkloadRepair |
void |
Repairs all workloads installations.
static
|
DotNetWorkloadRepair |
void |
Repairs all workloads installations.
static
|
Dot |
void |
Installs workloads needed for a project or a solution.
static
|
Dot |
void |
Installs workloads needed for a project or a solution.
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
|
DotNetWorkloadSearch |
IEnumerable |
Lists available workloads.
static
|
Dot |
void |
Uninstalls one or more workloads.
static
|
Dot |
void |
Uninstalls a specified workload.
static
|
DotNetWorkloadUpdate |
void |
Updates all installed workloads to the newest available version.
static
|
DotNetWorkloadUpdate |
void |
Updates all installed workloads to the newest available version.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|