Update NuGet package license as equal as GitHub MIT license
bezzad opened this issue · 1 comments
Hi,
I use Fossa to automate the risks out of my open-source Downloader project. My library is used your awesome ShellProgressBar library on the console app samples to show the parallel downloads progresses.
Now I run Fossa and it alerts me like below to not found the license of the ShellProgressBar. So, I checked your project Github license and it's ok. But the license of the Nuget package is a template file. Thus, It has no information about the author and your project.
Please update the ShellProgressBar.csproj
to populate the license URL, you just had to add the following to your project file:
<PropertyGroup>
<PackageLicenseUrl>https://raw.githubusercontent.com/Mpdreamz/shellprogressbar/master/LICENSE</PackageLicenseUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
And release a new version of NuGet if it's possible for you.
Thanks a lot.
Awesome project! Great to see this library in action there!
/usr/share/dotnet/sdk/6.0.101/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5035: The PackageLicenseUrl is being deprecated and cannot be used in conjunction with the PackageLicenseFile or PackageLicenseExpression. [/home/mpdreamz/projects/shellprogressbar/src/ShellProgressBar/ShellProgressBar.csproj]
Adding both PackageLicenseUrl
and PackageLicenseExpression
is no longer supported by dotnet pack
I fear this is something Fossa needs to add support for too.