NuGet by Patrik

Manifest Elements

  • id: This is a unique identifier of the package. It's the name of the package that is used when installing the package using the Install-package command in the Package Manager console in Visual Studio. The Package Id follows the same rule as a .Net namespace. For example Mvc.Helper is a valid package id.
  • Version: This is a version of the package like 1.0.0.
  • Authors: This is a comma separated list of the authors of the package.
  • owners: This is a comma separated list of package creators. Most of the time it is same as package authors.
  • licenseUrl: This is a link to the license that the package is under. For example Apache license.
  • projectUrl: This is a link to the project home page. If the project is open-source then it can be the project source code URL like Github project URL.
  • iconUrl: This is the link for the image that is used as an icon for the package. The size of the image should be a 32x32 pixel png image with transparent background.
  • requireLicenseAcceptance: This is a boolean value that indicates whether the Nuget client must ensure that the package license (specified by licenseUrl) is accepted by the user before installation of the package.
  • description: As the name suggests, this is a long description of the package.
  • releaseNotes: This is a description of the changes that are made in each release of the package.
  • copyright: Specify copyright details for the package.
  • tags: This is a space-separated list of keywords that describes the package. These tags are useful when a user tries to search for the package.
  • dependencies: This element specifies the list of other dependent Nuget packages that should be installed in order to use our package.
  • title: This is a user-friendly name of the package. If not specified then the package id is used. (By default this element is not included in the manifest file.)
  • files: This element is used to specify the package content. (By default this element is not included in the manifest file.)

The elements are described in .nuspec file reference.

Comments

Leave a Comment

All fields are required. Your email address will not be published.