publish

Publish a project.

@dotnet publish {
    configuration = "Release"
    runtime = "linux-x64"
    trim = true
    single = true
    arguments = "--version-suffix beta"
}

Argument Reference

The following arguments are supported:

  • configuration - (Optional) Configuration for publish command.
  • runtime - (Optional) Runtime for publish.
  • trim - (Optional) Instruct to trim published project.
  • single - (Optional) Instruct to publish project as self-contained.
  • arguments - (Optional) Arguments for command.
Last updated on