[Bug Bash] The vulnerability InfoBar disappears in the Solution Explorer window after restoring packages for .NET SDK based project #13318
Labels
Area:NuGetAudit
Category:Quality Week
Issues that should be considered for quality week
Found:ManualTests
Functionality:VisualStudioUI
Priority:2
Issues for the current backlog.
SeQuality
Style:PackageReference
Type:Bug
NuGet Product Used
Visual Studio Package Management UI
Product Version
NuGet Client Dev\6.10.0.80
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
Create a C# Class Library (.NET Core) -- .NET 8.0 project.
Right-click the project in Solution Explorer and select "Manage NuGet Packages…" menu item to open PM UI.
Select the package source: “nuget.org” near the gear button.
Go to the "Browse" tab and search for a package (e.g. "Newtonsoft.Json").
Select a vulnerable package version (e.g. 12.0.1) and install the package.
Observe the Solution Explorer window, which displays a golden InfoBar.
Right-click the solution node in Solution Explorer window and click "Restore NuGet Packages".
Expected:
The vulnerability InfoBar should still show on the top of the Solution Explorer window.
Actual:
The vulnerability InfoBar disappears in the Solution Explorer window after restoring packages as below:
Notes:
The repro rate is 100%.
This is not a regression since it is a new feature.
This issue also reproes when building the solution instead of restoring packages in step7.
It doesn’t repro for non-SDK based projects.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: