O'Reilly logo

Pro NuGet by Xavier Decoster, Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the spec Command

Generate a nuspec for a new package with the following command:

nuget spec [package id]

If this command is run in the same folder as a project file (.csproj, .vbproj, or .fsproj), it will create a package manifest that uses replacement tokens, such as $id$, $version$, $description$, and $authors$.

Available options are shown in Table B-10.

images

images

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required