You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme says this about the --licenseurl-to-license-mappings command-line flags:
When used, this option allows to override the url to license mapping built into the application (see [here](src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs))
but the default array of conversions (Uri to string) implies that the resulting license (or LicenseValidationResult) should convert the origin type from LicenseInformationOrigin.Url to LicenseInformationOrigin.Expression), since it has been mapped.
The text was updated successfully, but these errors were encountered:
Hi @danielo-unity3d can you please specify which version of the tool you are running?
Assuming from your comment that you are using the 3.0.0-alpha.* version.
The main reason this does specify LicenseInformationOrigin.Url is because the license was given as URL (The Origin of the license is a URL). This is an important information, as URL's can change it's content and also go offline. This is the main reason Microsoft deprecated the License URL files in the NuGet specification.
Please feel free to create a PR if you feel the documentation can be improved.
The readme says this about the
--licenseurl-to-license-mappings
command-line flags:but the default array of conversions (
Uri
tostring
) implies that the resulting license (orLicenseValidationResult
) should convert the origin type fromLicenseInformationOrigin.Url
toLicenseInformationOrigin.Expression
), since it has been mapped.The text was updated successfully, but these errors were encountered: