You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NuGet.Home/accepted/archive/PackageIconLicenseDocumenta...

1.7 KiB

Issue

The work for this feature and the discussion around the spec is tracked by 3 issues

  • Icon - Package Icon should be able to come from inside the package #352
  • License - Package trust - Licenses #4628
  • Documentation - Nuspec - documentation / readme url #6873

Problem

  • Icons - package authors are required to find a place to host an image, only to point to it for the package icon. Additionally, loading images from external URLs have potential security and privacy concerns for package consumers.
  • License - it is possible to update the page contents at the referred license URL raising legal concerns for package consumers.
  • Documentation - it is not possible for package authors to update the documentation on the package details page without going to NuGet.org. This information is not surfaced in Visual Studio to package consumers.

Who is the customer?

  • NuGet package consumers that consume packages using Visual Studio package manager UI (VS-PMUI) from NuGet.org (v3 feed) and folder based feeds
  • NuGet package authors that push to NuGet.org

Solution

Packaging Icon within the nupkg

Packaging License within the nupkg

Packaging Documentation within the nupkg