Skip to content

[Bug]: The transitive package doesn’t show in “Installed” tab until reopening the solution #12102

@v-longmin

Description

@v-longmin

NuGet Product Used

Visual Studio Package Management UI

Product Version

NuGet Client Dev\6.4.0.92

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Repro steps:

  1. Set the environment Variable NUGET_TRANSITIVE_DEPENDENCIES_IN_PMUI=1.
  2. Create a new C# Console App (.Net Core) project.
  3. Right-click the project in Solution Explorer and select ‘Manage NuGet Packages…’ menu item to open PM UI.
  4. Click “Browse” tab, search a package (e.g. “Microsoft.EntityFrameworkCore”) that has dependencies, select a package version [6.0.4] in the "Version" drop-down list in the right panel and click the “Install” button on the right.
  5. Switch to “Installed” tab.

Expected:

The transitive package should show in “Installed” tab.

Actual:

The transitive package doesn’t show in “Installed” tab as below screenshot.
image

Notes:

  1. The transitive package can be show in “Installed” tab after closing solution/VS and reopening the same solution.
  2. The issue starts from NuGet Client Dev\6.4.0.90.

Verbose Logs

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions