nuget-license
nuget-license copied to clipboard
Multiple NuGet Source Support
Hello, Can we use multiple nuget sources? It looks check only api.nuget.org but I have also a private repository for my packages. Do you think about any improvement for this? Thanks
There is a branch for version 3.0.0 (be aware that this branch is still a prerelease) which uses the microsoft provided capabilities to receive the nuget packages. With this branch the feature you describe works.
Feel free to check this out.
Hi @sensslen, Thanks for quick response, Do you plan to push version 3.0.0 to nuget as a prerelease for testing with "dotnet tool install" command easily?
@tomchavakis what do you think?
@ohanedan, as a workaround in the mainstream branch, you could do a NuGet restore and then employ --use-project-assets-json
option to check licenses of the packages.
Thus, the nuspecs would already be cached regardless of their sources.
I propose to close this issue in favour of the newly released alpha version that will eventually replace the current version of the application. Please check https://github.com/tomchavakis/nuget-license/releases/tag/v3.0.0-alpha.5 if it will fit your needs.
The newly released alpha version is also available as dotnet tool.