Summary
Base class for all .NET Core related tools.
- Namespace
- Cake
.Common .Tools .DotNet - Base Types
- Derived Types
-
- Dot
Net Package Searcher - Dot
Net Workload Installer - DotNetExecutor
- Dot
Net Workload Restorer - DotNetCleaner
- DotNetVSTester
- Dot
Net Workload Updater - DotNetWorkloadLister
- Dot
Net Workload Uninstaller - Dot
Net Reference Remover - DotNetNuGetDeleter
- DotNetPackageAdder
- DotNetPacker
- DotNetReferenceAdder
- Dot
Net Workload Repairer - DotNetPackageLister
- DotNetPublisher
- Dot
Net Workload Searcher - DotNetNuGetSourcer
- DotNetFormatter
- DotNetRestorer
- DotNetPackageRemover
- DotNetNuGetPusher
- DotNetToolRunner
- DotNetSlnRemover
- DotNetSDKChecker
- Dot
Net Reference Lister - DotNetBuildServer
- DotNetTester
- DotNetSlnAdder
- DotNetBuilder
- DotNetSlnLister
- DotNetRunner
- DotNetMSBuildBuilder
- Dot
graph BT
Type-->Base0["Tool<TSettings>"]
Base0-->Base1["object"]
Type["DotNetTool<TSettings>"]
class Type type-node
Derived0["DotNetPackageSearcher"]-->Type
click Derived0 "/api/Cake.Common.Tools.DotNet.Package.Search/DotNetPackageSearcher"
Derived1["DotNetWorkloadInstaller"]-->Type
click Derived1 "/api/Cake.Common.Tools.DotNet.Workload.Install/DotNetWorkloadInstaller"
Derived2["DotNetExecutor"]-->Type
click Derived2 "/api/Cake.Common.Tools.DotNet.Execute/DotNetExecutor"
Derived3["DotNetWorkloadRestorer"]-->Type
click Derived3 "/api/Cake.Common.Tools.DotNet.Workload.Restore/DotNetWorkloadRestorer"
Derived4["DotNetCleaner"]-->Type
click Derived4 "/api/Cake.Common.Tools.DotNet.Clean/DotNetCleaner"
Derived5["DotNetVSTester"]-->Type
click Derived5 "/api/Cake.Common.Tools.DotNet.VSTest/DotNetVSTester"
Derived6["DotNetWorkloadUpdater"]-->Type
click Derived6 "/api/Cake.Common.Tools.DotNet.Workload.Update/DotNetWorkloadUpdater"
Derived7["DotNetWorkloadLister"]-->Type
click Derived7 "/api/Cake.Common.Tools.DotNet.Workload.List/DotNetWorkloadLister"
Derived8["DotNetWorkloadUninstaller"]-->Type
click Derived8 "/api/Cake.Common.Tools.DotNet.Workload.Uninstall/DotNetWorkloadUninstaller"
Derived9["DotNetReferenceRemover"]-->Type
click Derived9 "/api/Cake.Common.Tools.DotNet.Reference.Remove/DotNetReferenceRemover"
Derived10["DotNetNuGetDeleter"]-->Type
click Derived10 "/api/Cake.Common.Tools.DotNet.NuGet.Delete/DotNetNuGetDeleter"
Derived11["DotNetPackageAdder"]-->Type
click Derived11 "/api/Cake.Common.Tools.DotNet.Package.Add/DotNetPackageAdder"
Derived12["DotNetPacker"]-->Type
click Derived12 "/api/Cake.Common.Tools.DotNet.Pack/DotNetPacker"
Derived13["DotNetReferenceAdder"]-->Type
click Derived13 "/api/Cake.Common.Tools.DotNet.Reference.Add/DotNetReferenceAdder"
Derived14["DotNetWorkloadRepairer"]-->Type
click Derived14 "/api/Cake.Common.Tools.DotNet.Workload.Repair/DotNetWorkloadRepairer"
Derived15["DotNetPackageLister"]-->Type
click Derived15 "/api/Cake.Common.Tools.DotNet.Package.List/DotNetPackageLister"
Derived16["DotNetPublisher"]-->Type
click Derived16 "/api/Cake.Common.Tools.DotNet.Publish/DotNetPublisher"
Derived17["DotNetWorkloadSearcher"]-->Type
click Derived17 "/api/Cake.Common.Tools.DotNet.Workload.Search/DotNetWorkloadSearcher"
Derived18["DotNetNuGetSourcer"]-->Type
click Derived18 "/api/Cake.Common.Tools.DotNet.NuGet.Source/DotNetNuGetSourcer"
Derived19["DotNetFormatter"]-->Type
click Derived19 "/api/Cake.Common.Tools.DotNet.Format/DotNetFormatter"
Derived20["DotNetRestorer"]-->Type
click Derived20 "/api/Cake.Common.Tools.DotNet.Restore/DotNetRestorer"
Derived21["DotNetPackageRemover"]-->Type
click Derived21 "/api/Cake.Common.Tools.DotNet.Package.Remove/DotNetPackageRemover"
Derived22["DotNetNuGetPusher"]-->Type
click Derived22 "/api/Cake.Common.Tools.DotNet.NuGet.Push/DotNetNuGetPusher"
Derived23["DotNetToolRunner"]-->Type
click Derived23 "/api/Cake.Common.Tools.DotNet.Tool/DotNetToolRunner"
Derived24["DotNetSlnRemover"]-->Type
click Derived24 "/api/Cake.Common.Tools.DotNet.Sln.Remove/DotNetSlnRemover"
Derived25["DotNetSDKChecker"]-->Type
click Derived25 "/api/Cake.Common.Tools.DotNet.SDKCheck/DotNetSDKChecker"
Derived26["DotNetReferenceLister"]-->Type
click Derived26 "/api/Cake.Common.Tools.DotNet.Reference.List/DotNetReferenceLister"
Derived27["DotNetBuildServer"]-->Type
click Derived27 "/api/Cake.Common.Tools.DotNet.BuildServer/DotNetBuildServer"
Derived28["DotNetTester"]-->Type
click Derived28 "/api/Cake.Common.Tools.DotNet.Test/DotNetTester"
Derived29["DotNetSlnAdder"]-->Type
click Derived29 "/api/Cake.Common.Tools.DotNet.Sln.Add/DotNetSlnAdder"
Derived30["DotNetBuilder"]-->Type
click Derived30 "/api/Cake.Common.Tools.DotNet.Build/DotNetBuilder"
Derived31["DotNetSlnLister"]-->Type
click Derived31 "/api/Cake.Common.Tools.DotNet.Sln.List/DotNetSlnLister"
Derived32["DotNetRunner"]-->Type
click Derived32 "/api/Cake.Common.Tools.DotNet.Run/DotNetRunner"
Derived33["DotNetMSBuildBuilder"]-->Type
click Derived33 "/api/Cake.Common.Tools.DotNet.MSBuild/DotNetMSBuildBuilder"
Syntax
public abstract class DotNetTool<TSettings> : Tool<TSettings> where TSettings : DotNetSettings
Type Parameters
| Name | Description |
|---|---|
| TSettings | The settings type. |
Constructors
| Name | Summary |
|---|---|
| DotNetTool |
Initializes a new instance of the DotNetTool<TSettings> class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Create |
Process |
Creates a
ProcessArgumentBuilder and adds common commandline arguments.
|
| Get |
IEnumerable |
Gets the possible names of the tool executable.
|
| GetToolName |
string |
Gets the name of the tool.
|
| RunCommand |
void |
Runs the dotnet cli command using the specified settings and arguments.
|
| RunCommand |
void |
Runs the dotnet cli command using the specified settings and arguments.
|
| RunCommand |
void |
Runs the dotnet cli command using the specified settings and arguments.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| 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
|
