pack

Packs the project into a NuGet package via dotnet pack.

@dotnet pack {
    configuration = "Release"
    restore = "true"
    build = "true"
    version = "1.0.0"
    args = "--include-symbols"
}

Capabilities

CapabilityInfo
Cacheremote
Bachno

Argument Reference

The following arguments are supported:

  • configuration - (Optional) Configuration (defaults to Debug).
  • restore - (Optional) Perform restore (omit to add --no-restore).
  • build - (Optional) Build before packing (omit to add --no-build).
  • version - (Optional) Package version (/p:Version).
  • args - (Optional) Additional arguments for dotnet pack.
Last updated on