Skip to content

nuget with license file behaves different with enabled github resolve #1001

@trivalik

Description

@trivalik

When I create a nuget package with <license type="file">LICENSE.txt</license> it automatically add the in nuspec the line <licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>.

If --enable-github-licenses is enabled, then no license information is print into BOM.`

Without --enable-github-licenses, it prints out:

      "licenses": [
        {
          "license": {
            "name": "Unknown - See URL",
            "url": "https://aka.ms/deprecateLicenseUrl"
          }
        }
      ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageDon't know what to do with this yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions