[Bug Bash] The installed "PackageReferenc" package info in all the tabs cannot be updated in the solution-level PM UI when non-SDK style projects are added individually #14069
Labels
Found:ManualTests
Functionality:VisualStudioUI
Package Manager UI et al
Style:PackageReference
Type:Bug
NuGet Product Used
Visual Studio Package Management UI
Product Version
NuGet Client Dev\6.14.0.13
Worked before?
It is not a regression since it reproes on VS D17.12\35702.32.
Impact
It bothers me. A fix would be nice
Notes:
The repro rate is 100%.
It doesn’t repro when installing the package with ‘Packages.config’ format.
It doesn't repro for SDK based projects.
The issue will not repro after closing VS and reopening the same solution.
Repro Steps & Context
Create a C# Console App project (.NET Framework) (called Project1).
Right-click the Solution Explorer and select "Manage NuGet Packages for Solution…" menu item to open PM UI.
Select the package source: "nuget.org" near the gear button.
Go to the “Browse" tab, install “Newtonsoft.json 13.0.1” into Project1 with ‘PackageReference’ package format.
Add another C# Console App project (.NET Framework) (called Project2).
Right-click the Solution Explorer and select "Manage NuGet Packages for Solution…" menu item to open PM UI.
Go to the “Browse" tab, install “Newtonsoft.json 13.0.2” into Project2 with ‘PackageReference’ package format.
Click every tab (“Browse” /Installed”/ “Updates”/ “Consolidate” tab and observe.
Expected:
The package info should be correct in every tab. The latest installed version (13.0.2) should show on the top-right of the installed package for “Browse” /Installed”/ “Updates” tab. There should be ‘1’ show on the right of “Consolidate” tab, the installed package should be show in the package list and the latest installed version (13.0.2) should show on the top-right of the installed package.
Actual:
The installed ‘PackageReferenc’ package info in all the tabs is incorrect in solution-level PM UI as the record below. The secondly installed package info is not updated to every tab.
Verbose Logs
The text was updated successfully, but these errors were encountered: