aaubry / YamlDotNet

YamlDotNet is a .NET library for YAML
MIT License
2.48k stars 466 forks source link

Set license expression on nuget package #918

Closed thompson-tomo closed 1 month ago

thompson-tomo commented 3 months ago

Is your feature request related to a problem? Please describe. When my packages are analyzed in Dependency Track using SBOM files the licence is not able to be determined for any of the packages.

Describe the solution you'd like The PackageLicenseExpression property is set in the csproj so that the NUGET package has the information. This can then be included in the SBOM so that analysis can occur in the appropriate tools.

Describe alternatives you've considered Ignore the errors.

Additional context License appears to be MIT

lahma commented 3 months ago

https://github.com/aaubry/YamlDotNet/pull/903