New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'licenseUrl' as package metadata is now deprecated, use 'license' instead #32

anangaur opened this Issue Dec 17, 2018 · 0 comments


None yet
1 participant
Copy link

anangaur commented Dec 17, 2018

As announced earlier about our aim to remove content Urls (license, icons and markdown documentation) from the package and make these metadata part of the package, we have now deprecated the use of licenseUrl as package metadata. You can now use license field in the nuspec, instead.

For reference, here are the planned milestones for this feature:
Milestone 1 (Today):

  • NuGet.exe v4.9.2 and dotnet.exe (that ships with .NET SDK – 2.1.502 and 2.2.101) supports creating packages using the new “license” property
  • Providing “LicenseURL” during pack time is deprecated and a warning is shown if used.
  • accepts packages that contain the “license” property, including license files.
  • License information (expression or file) is exposed through Package Manager UI in Visual Studio.
  • Visual Studio 2017 15.9.4 and above supports surfacing the new “license” property.

Milestone 2:

  • We will monitor the adoption of clients that can understand the “license” property and will disable the use of licenseUrl when that adoption has reached a threshold.


@NuGet NuGet locked and limited conversation to collaborators Dec 17, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.