DotNetCore

Summary

Contains functionality related to .NET Core CLI.

In order to use the commands for this alias, the .Net Core 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

Execute

DotNetCoreExecute(ICakeContext, FilePath) Execute an assembly.
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder) Execute an assembly with arguments in the specific path.
DotNetCoreExecute(ICakeContext, FilePath, ProcessArgumentBuilder, DotNetCoreSettings) Execute an assembly with arguments in the specific path with 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