Package a NuGet specification specifying the version of the resulting file

choco pack

  • Package a NuGet specification into a nupkg file.
    More information: <https://chocolatey.org/docs/commands-pack>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

choco pack {{path/to/specification}} --version {{version}}

click the source code to copy