-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for .NET8 #200
Comments
Yes, the very same thing happened to me. It would be fantastic if support for .NET8 was added. |
Same story on our side. We have just introduced a first dotnet 8.0 app. |
It would be nice with .net8 support but this does not need to be a blocker. |
I opened #201 which includes .net8 to the version 3 alpha. I'm currently considering to release that version, but I need at least one affirmative review. |
Yes, this works. But I think is more a temporary workaround than a good solution.
Nice. I looking forward for this new version! |
|
I just released https://www.nuget.org/packages/nuget-license. This is a release of my fork of v3.0.0 of this tool. Unfortunately @tomchavakis has been unresponsive for quite some time and the nuget api key expired which means I was unable to release in the original form. |
@sensslen is there any documentation on the changes in 3.0.0? I can't find any of the following CLI options. And looking at the code it seems like 3.0 is completely different than 2.7.1 -u
-outfile # possibly just need to pipe the output of the command to a file
--projects-filter
--manual-package-information
--packages-filter Alternatively, is it possible to publish a |
@belav you are right that version 3 is very different. It addresses some long standing issues. The documentation is available on nuget.org. All available command line options are listed. See https://www.nuget.org/packages/nuget-license. I'm not able to publish the original nuget, as I don't have the api key. Also I see no value in republishing version 2 under my name. |
I tried to figure out how we can convert our command to use 3.0.0. I started with the basics and just output some json by pointing both dotnet-project-licenses and nuget-licenses at our root Being that there is no documentation telling me how 2.7.1 differs from 3.0.0, if there was a 2.7.2 published that worked with net8, I would just use that. That is where the value comes in, at least for consumers of the project. Being that you are taking on the project I understand why you may not want to support the older version. I ended up building a 2.7.2 myself and committing the nupgk to our repo. If anyone else goes that route, I also wanted to say thank you for taking on support of this, I do appreciate it. |
It looks as if you missed the |
@sensslen your new tool crashes when we try and use it and your new repo has no way to report issues. Can you please turn on issue reporting? |
@trampster Issues are now turned on on the fork. Can you please report the issue you're seeing? |
Thank you for your work! Unfortunately
|
@sabifa feel free to submit Pull Requests in order to improve here: https://github.com/sensslen/nuget-license. Also I don't quite understand your second concern, as the download location for the licenses can be defined.... |
I would love to see a new version of this, since I updated my repos to .NET8 my Pipeline run fails. |
@Suneeh There you go: https://www.nuget.org/packages/nuget-license |
@sensslen thanks.. doesn't quite work for me, can you provide an example of an --override-package-information json? Or does it not take a json file? |
@Suneeh |
Yea just found that as well ! |
I have just upgraded my project to .NET 8 and noticed while running my build pipeline in Azure DevOps that it fails because of
dotnet-project-licenses
.Output:
The text was updated successfully, but these errors were encountered: