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 ...

Get Pro NuGet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.