publish
ℹ️
This command is fully cacheable.
Publish project.
@dotnet publish {
configuration = "Release"
restore = "true"
build = "true"
runtime = "linux-x64"
trim = true
single = true
args = "--version-suffix beta"
}
Argument Reference
The following arguments are supported:
configuration
- (Optional) Configuration for publish command.restore
- (Optional) Restore packages.build
- (Optional) Build project.runtime
- (Optional) Runtime for publish.trim
- (Optional) Instruct to trim published project.single
- (Optional) Instruct to publish project as self-contained.args
- (Optional) Arguments for command.
Last updated on