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.

Execute

DotNetCoreExecute(FilePath)​

Execute an assembly.

DotNetCoreExecute(FilePath, ​ProcessArgumentBuilder)​

Execute an assembly with arguments in the specific path.

DotNetCoreExecute(FilePath, ​ProcessArgumentBuilder, ​DotNetCoreSettings)​

Execute an assembly with arguments in the specific path with settings.
Pack

DotNetCorePack(string)​

Package all projects.

DotNetCorePack(string, ​DotNetCorePackSettings)​

Package all projects.
Restore

DotNetCoreRestore()​

Restore all NuGet Packages.

DotNetCoreRestore(string)​

Restore all NuGet Packages in the specified path.

DotNetCoreRestore(DotNetCoreRestoreSettings)​

Restore all NuGet Packages with the settings.

DotNetCoreRestore(string, ​DotNetCoreRestoreSettings)​

Restore all NuGet Packages in the specified path with settings.
Test

DotNetCoreTest()​

Test project.

DotNetCoreTest(string)​

Test project with path.

DotNetCoreTest(string, ​DotNetCoreTestSettings)​

Test project with settings.