NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 253 forks source link

[Bug Bash] The sort of “Package Source” list in PMC should be consistent with the one in PM UI #12491

Open v-luzh opened 1 year ago

v-luzh commented 1 year ago

NuGet Product Used

Visual Studio Package Manager Console

Product Version

NuGet Client Dev\6.6.0.52

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Repro Steps:

  1. Create a C# Console App (.NET Framework 4.8.1) project in VS.
  2. Right-Click the project in the Solution Explorer window and select ‘Manage NuGet Packages…’.
  3. Click the arrow-down button on the right of the “Package Source” drop-down box in PM UI.
  4. Open “Package Manager Console” and click the arrow-down button on the right of the “Package Source” drop-down box in the PMC.

Expected:

The sort of “Package Source” list in PMC should be consistent with the one in PM UI.

Actual:

The sort of “Package Source” list in PMC is inconsistent with the one in PM UI as below screenshot. image

Note:

1.This issue doesn’t repro on VS D16.11\33412.59 as below screenshot, since the “Package Source” list in PM UI was not sorted at that time. 2.Repro rate:100%. image

Verbose Logs

No response

CiciLi1 commented 1 month ago

It still reproes on VS Main\35222.175 + NuGet Client Dev\6.12.0.82.