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

Creating the Metadata Section

The package manifest metadata section is a mandatory section within the package manifest. The metadata section itself also has a set of mandatory elements. These required elements must be specified before you can create a package based on the .nuspec manifest. Here is the list of all required metadata fields:

  • ID
  • Version
  • Description
  • Authors

The first pieces of metadata your package exposes are the package ID and the package version. This pair of fields will uniquely identify your package on any NuGet feed. The package description and authors are used to search in the NuGet gallery.

Table A-1, lists the possible elements in the package manifest metadata section and their descriptions.

Populating Replacement Tokens ...

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