pack
Packs the project into a NuGet package via dotnet pack.
@dotnet pack {
configuration = "Debug"
restore = true
build = true
version = "1.0.0"
args = "--include-symbols"
dependencies = true
}Capabilities
| Capability | Info |
|---|---|
| Cache | remote |
| Bach | no |
Argument Reference
The following arguments are supported:
configuration- (Optional) Build configuration. Default value isDebug.restore- (Optional) Runs restore before pack. Default value istrue.build- (Optional) Runs build before pack. Default value istrue.version- (Optional) Package version (/p:Version).args- (Optional) Extradotnet packarguments.dependencies- (Optional) When false, adds--no-dependencies. Default value istrue.
Last updated on