Open ChristianGalla opened 7 months ago
I have this same issue with the same version of dotnet-project-licenses using -t option. I don't know the answer, but I'm surprised nobody has commented yet.
I tried clearing my nuget cache with dotnet nuget locals all --clear
followed by restoring with dotnet restore
but it had no effect unfortunately. You might try that, maybe it will work for you.
Unfortunately this project is currently dead. I did write a new version that provides similar functionality over here: https://github.com/sensslen/nuget-license. Would you mind checking whether this version resolves your issue? It is using the microsoft implementation to determine project dependencies in contrast to the version you use....
@sensslen thanks. I have already validated your fork, but unfortunately, currently, for me your tool is not a sufficient alternative because of the following reasons:
I am not a lawyer, but in many licenses, for example in the MIT license there is something like the following paragraph: "The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software."
My interpretation is that software that uses such a library must deliver the license in the original format. Listing of the URLs is not enough. In comparison to nuget-license, the tool dotnet-project-licenses provides an easy option to download and save all licenses as harmless text files in a folder that is easy to publish and to create a combined text file that is easy to embed in an application.
@ChristianGalla I'm fully aware that nuget-license does not provide all the functionality this project provides yet. However it already provides the ability to download the licenses that are specified by a download url (in HTML format though). Downloading the licenses specified by a SPDX identifier should be straight forward using licenses.nuget.org. Feel free to work on a PulRequest or a feature proposal over at nuget-license.
Hi,
when I used the tool in version 2.7.1 in a GitHub action, it got stuck in an infinite loop: GitHub Action
Not working command:
On my local Windows 10 machine this is working fine, so I assume there is some issue regarding the runner windows-latest maybe in combination with the nuget cache.
Repeating verbose output:
When removing the
-t
option, the program is working fine, but a transitive export usually is required to be license compliant.