Skip to main content
Version: 0.193.6

dotnet

Available Commands

CommandDescription
dispatchRuns an arbitrary dotnet command (action name is forwarded to dotnet).
toolExecutes dotnet tool ... commands.
restoreRestores NuGet packages for one project or a batch solution.
buildBuild project.
packPacks the project into a NuGet package via dotnet pack.
publishPublishes binaries via dotnet publish for one project or a batch solution.
testRuns tests via dotnet test, optionally batched through a generated solution.

Project Initializer

Computes default outputs and project-reference dependencies.

project {
@dotnet { }
}

Equivalent to:

project {
ignores = [ "**/*.binlog" ]
outputs = [ "bin/" "obj/" "**/*.binlog" ]
}