2018-04-15 16:43:14 +01:00
|
|
|
# choco pack
|
|
|
|
|
|
|
|
> Package a NuGet specification into a nupkg file.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://chocolatey.org/docs/commands-pack>.
|
2018-04-15 16:43:14 +01:00
|
|
|
|
|
|
|
- Package a NuGet specification to a nupkg file:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`choco pack {{path\to\specification_file}}`
|
2018-04-15 16:43:14 +01:00
|
|
|
|
|
|
|
- Package a NuGet specification specifying the version of the resulting file:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`choco pack {{path\to\specification_file}} --version {{version}}`
|
2018-04-15 16:43:14 +01:00
|
|
|
|
|
|
|
- Package a NuGet specification to a specific directory:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`choco pack {{path\to\specification_file}} --output-directory {{path\to\output_directory}}`
|