CPMR0039 - LicenseUrl Missing (nuspec)

CPMR0039 - LicenseUrl Missing (nuspec)


This rule has been marked as a Guideline

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.


In the nuspec, there is a <licenseUrl /> element. It was found to be missing or empty in the package.

Please update the nuspec to include a <licenseUrl /> element that is non-empty. If your nuspec file is missing this field, you should run choco new testpkg and look at the output from that (ensure you have the latest version of Chocolatey).


It is strongly encouraged to let folks know what licensing the particular underlying software from installing the package will carry so that decisions can be made ahead of time if it fits within the parameters of what the user can use depending on the setting they are in.