Skip to content

Use PackageLicenseExpression (MIT) in the NuGet package metadata #3194

Open

Description

Describe the bug

Hi,

you declare license as a file inside the package:
This comes from LICENSE.txt in src/Microsoft.Graph/Microsoft.Graph.csproj. The README states that the library is licensed under the MIT license, but tools that read NuGet metadata, such as license scanners and dependency update bots, only see the file reference. They report the license as unknown, and we have to check it by hand each time we update the package.

Would you consider declaring the license as an SPDX expression instead?

Thank you for considering this! 😊

Expected behavior

Expected: the NuGet Gallery and tooling show the license as MIT without opening the file.

How to reproduce

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions