Edit the .nuspec file

After Sitefinity CMS automatically creates the .nuspec file, you should manually edit it to prepare it for NuGet package generation.

  1. Open the .nuspec file and add the following metadata:
    • ID of the add-on
      The ID is automatically generated from the name of the add-on. You can change it.
    • Authors of the add-on
    • Owners of the add-on
    • Description of the add-on
    • Version of the add-on
    • Any other metadata that you require
  2. List any dependencies of the add-on.
    For more information, see Manage add-on dependencies.
  3. Include all custom functionality (custom DLLs and other files) that you want to distribute.
    You do this by referencing it in the .nuspec file.
    For more information, see Export custom functionality.
  4. Save and close the .nuspec file.

For more information about editing the .nuspec file, see Nuspec Reference.

Was this article helpful?