build

Builds the project or batch solution via dotnet build.

@dotnet build {
    configuration = "Release"
    parallel = 1
    log = true
    restore = "true"
    version = "1.2.3"
    dependencies = true
    args = "--no-incremental"
}

Capabilities

CapabilityInfo
Cacheremote
Bachyes

Argument Reference

The following arguments are supported:

  • configuration - (Optional) Configuration (defaults to Debug).
  • parallel - (Optional) Max worker processes (-maxcpucount).
  • log - (Optional) Emit a binary log (-bl).
  • restore - (Optional) Perform restore (omit to add --no-restore).
  • version - (Optional) Set Version MSBuild property.
  • dependencies - (Optional) Include project dependencies (omit to add --no-dependencies).
  • args - (Optional) Additional arguments for dotnet build.
Last updated on