build

ℹ️
This command is fully cacheable.

Build project.

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

Argument Reference

The following arguments are supported:

  • configuration - (Optional) Configuration to use to build project. Default is Debug.
  • parallel - (Optional) Max worker processes to build the project.
  • log - (Optional) Enable binlog for the build.
  • restore - (Optional) Restore packages.
  • version - (Optional) Build version.
  • dependencies - (Optional) Restore dependencies as well.
  • args - (Optional) Arguments for command.
Last updated on