[Bug Bash] The vulnerability InfoBar does not display in the Solution Explorer window of “packages.config” project until restoring at the second time #13305
Labels
Found:ManualTests
Functionality:VisualStudioUI
Priority:2
Issues for the current backlog.
Product:VS.Client
Style:Packages.Config
Type:Bug
NuGet Product Used
Visual Studio Package Management UI
Product Version
NuGet Client Dev\6.10.0.75
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
Create a C# Class Library (.NET Framework 4.8.1) 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.
Click the “settings” button (top-right of right panel), check "Allow format selection on first package install" in “General” tab and click OK button.
Go to the "Browse" tab and search for a vulnerable package (e.g. "Newtonsoft.Json").
Select a vulnerable package version (e.g. 12.0.1), install the package with “packages.config” format.
Right-click the solution node in Solution Explorer and click "Restore NuGet Packages".
Expected:
A golden InfoBar and a link “Manage NuGet Packages” will show on the top of the Solution Explorer window.
Actual:
The vulnerability InfoBar does not display in the Solution Explorer window of “packages.config” project until restoring at the second time as the record below:
Notes:
1.The repro rate is 100%.
2.This is not a regression since it is a new feature.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: