[release/9.0.2xx] Update dependencies from nuget/nuget.client #46296
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #40913.
Description
This PR updates the implementation of
dotnet list package
anddotnet why
to support using slnx-formatted solution files as the input arguments. Today those commands only supportsln
files, which could lead to a user experience cliff if those commands are used in the 9.0.2xx CLI alongside all of the rest of the slnx-related updates we've done to the CLI.Customer Impact
Customers using the 9.0.200 SDK to convert and onboard to slnx support everywhere will not be able to inspect their solutions for outdated packages, or use CLI tooling to discover where a given package or package version is being pulled into their dependency graph.
User-reported
No
Risk
Low - the scope of the change was to two CLI-only commands, no Visual Studio or NuGet.exe experiences are impacted by this change.
Testing
New automated tests were added that verify slnx and sln support for the two commands impacted. In addition, @baronfel did manual testing of the commands on a sample set of slnx-containing repos.
This pull request updates the following dependencies
From https://github.com/nuget/nuget.client