-
Notifications
You must be signed in to change notification settings - Fork 256
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
support for listing references into csproj from commandline(s) #4102
Comments
I cannot find the the spec draft here: https://github.com/NuGet/Home/wiki/Support-dotnet-ref-add%7Cupdate%7Cdelete-packageref Has the url changed? |
Spec - https://github.com/NuGet/Home/wiki/Support-dotnet-add,-update,-remove-pkg Though it is out of date a bit. |
feature request from: #5199 Maybe list should have an option for displaying all out of date packages. |
Id love to use this listing feature programatically in a tool I'm building.
My use case is I'm scanning for usages of vulnerable nugets (direct/transient deps), and I want to give feedback on the full dependency chain if any vulnerable dep is found so it's easier for users to know where to take action. https://github.com/RetireNet/dotnet-retire Atm I'm manually parsing the project.assets.json file and building up a separate object graph (no dep to the Nuget.Client library) . It would make my life alot easier if this was available in the client libraries instead. Oh, and if such a feature already exist, please do tell! Could not find it in any doc or via looking at the source code / PRs. |
Hey, wondering what is the status of this? It has been awhile and the absence is still felt, especially if working with dotnet cli and vs code. Hope it makes it within the 15.5 timeframe... |
I'd love to have this command at the moment. I've just learned that some transitive dependency of my project has a vulnerability, but without a way to list all direct and transitive package dependencies, I have no good way to verify that I'm no longer using the vulnerable version. Would you be willing to accept a PR for this? This issue has been open for a long time, and I'd be happy to help. |
@benjamin-bader there's a nice .net core global tool for listing outdated references: https://github.com/jerriep/dotnet-outdated |
@benjamin-bader As @cwe1ss mentioned, https://github.com/jerriep/dotnet-outdated is a nice global tool to help you. NuGet team is also working on an |
Thanks, folks, I'll give it a try. Glad to hear that nuget will support this natively. |
Wiki URL seems to have changed again. https://github.com/NuGet/Home/wiki/Support-dotnet-add,-update,-remove-pkg |
@tillig Thanks. I have updated the link. :) |
Shipped dotnet list package support in dotnet sdk 2.2.100. |
splitting off from #3751 - which now just covers the add side of this work
Spec draft: https://github.com/NuGet/Home/wiki/Support-dotnet-ref-add%7Cupdate%7Cdelete-packageref
The text was updated successfully, but these errors were encountered: