DotNetCore

Summary

Several extension methods when using DotNetCoreTest.

Build

Build Server

DotNetCoreBuildServerShutdown(ICakeContext) Shuts down build servers that are started from dotnet.
DotNetCoreBuildServerShutdown(ICakeContext, DotNetCoreBuildServerSettings) Shuts down build servers that are started from dotnet.

Clean

Execute

DotNetCoreExecute(ICakeContext, FilePath) Execute an assembly.
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder) Execute an assembly with arguments in the specific path.
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder, DotNetCoreExecuteSettings) Execute an assembly with arguments in the specific path with settings.

MSBuild

DotNetCoreMSBuild(ICakeContext) Builds the specified targets in a project file found in the current working directory.
DotNetCoreMSBuild(ICakeContext, DotNetCoreMSBuildSettings) Builds the specified targets in a project file found in the current working directory.
DotNetCoreMSBuild(ICakeContext, string) Builds the specified targets in the project file.
DotNetCoreMSBuild(ICakeContext, string, DotNetCoreMSBuildSettings) Builds the specified targets in the project file.

NuGet

DotNetCoreNuGetDelete(ICakeContext) Delete a NuGet Package from a server.
DotNetCoreNuGetDelete(ICakeContext, DotNetCoreNuGetDeleteSettings) Deletes a package from a server using the specified settings.
DotNetCoreNuGetDelete(ICakeContext, string) Deletes a package from nuget.org.
DotNetCoreNuGetDelete(ICakeContext, string, DotNetCoreNuGetDeleteSettings) Deletes a package from a server
DotNetCoreNuGetDelete(ICakeContext, string, string) Deletes a specific version of a package from nuget.org.
DotNetCoreNuGetDelete(ICakeContext, string, string, DotNetCoreNuGetDeleteSettings) Deletes a package from a server using the specified settings.
DotNetCoreNuGetPush(ICakeContext, string) Pushes one or more packages to a server.
DotNetCoreNuGetPush(ICakeContext, string, DotNetCoreNuGetPushSettings) Pushes one or more packages to a server using the specified settings.

Pack

Publish

Restore

DotNetCoreRestore(ICakeContext) Restore all NuGet Packages.
DotNetCoreRestore(ICakeContext, DotNetCoreRestoreSettings) Restore all NuGet Packages with the settings.
DotNetCoreRestore(ICakeContext, string) Restore all NuGet Packages in the specified path.
DotNetCoreRestore(ICakeContext, string, DotNetCoreRestoreSettings) Restore all NuGet Packages in the specified path with settings.

Run

Test

Coverlet(ICakeContext, DirectoryPath, CoverletSettings) Runs the coverlet global tool with the given folder. We will discover any proj files, take the first and infer the name of the dll from that.
Addin from Cake.Coverlet.dll
Coverlet(ICakeContext, FilePath, CoverletSettings) Runs the coverlet global tool with the given test project. The name of the dll is inferred from the project name
Addin from Cake.Coverlet.dll
Coverlet(ICakeContext, FilePath, FilePath, CoverletSettings) Runs coverlet with the given dll, test project and settings
Addin from Cake.Coverlet.dll
DotNetCoreTest(ICakeContext) Test project.
DotNetCoreTest(ICakeContext, DotNetCoreTestSettings, FilePath, XUnit2Settings) Appends XUnit2Settings to an DotNetCoreTestSettings instance
Addin from Cake.Incubator.dll
DotNetCoreTest(ICakeContext, FilePath, DotNetCoreTestSettings, CoverletSettings) Runs DotNetCoreTest using the given CoverletSettings
Addin from Cake.Coverlet.dll
DotNetCoreTest(ICakeContext, FilePath, XUnit2Settings) Runs DotNetCoreTest using the given XUnit2Settings
Addin from Cake.Incubator.dll
DotNetCoreTest(ICakeContext, string) Test project with path.
DotNetCoreTest(ICakeContext, string, DotNetCoreTestSettings) Test project with settings.
DotNetCoreVSTest(ICakeContext, IEnumerable<FilePath>, DotNetCoreVSTestSettings) Test one or more specified projects with settings using the VS Test host runner.
DotNetCoreVSTest(ICakeContext, string) Test one or more projects specified by a path or glob pattern using the VS Test host runner.
DotNetCoreVSTest(ICakeContext, string, DotNetCoreVSTestSettings) Test one or more projects specified by a path or glob pattern with settings using the VS Test host runner.

Tool

DotNetCoreTool(ICakeContext, FilePath, string) Execute an .NET Core Extensibility Tool.
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder) Execute an .NET Core Extensibility Tool.
DotNetCoreTool(ICakeContext, FilePath, string, ProcessArgumentBuilder, DotNetCoreToolSettings) Execute an .NET Core Extensibility Tool.
DotNetCoreTool(ICakeContext, string) Execute an .NET Core Extensibility Tool.
DotNetCoreTool(ICakeContext, string, DotNetCoreToolSettings) Execute an .NET Core Extensibility Tool.