豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

PM UI won’t auto-refresh after installing/uninstalling package for .NET SDK based project #14858

@v-luzh

Description

@v-luzh

NuGet Product Used

Visual Studio Package Management UI

Product Version

VS Main\11714.293 + NuGet Client Dev\7.7.0.10

Worked before?

It is a regression since it starts to repro from Dev\7.6.0.54, didn’t repro on Dev\7.6.0.53.

Impact

It's more difficult to complete my work

Repro Steps & Context

Note:

  1. Repro rate: 100%.
  2. The issue doesn’t repro for updating operation.
  3. The issue doesn’t repro for non-SDK style project, no matter the package format is ‘Packages.config’ or ‘PackageReference’.

Repro Steps:

  1. Create a C# Console App (.NET 10.0) in VS and open the project-level PM UI.
  2. Go to the ‘Browse’ tab of PM UI and select the source ‘nuget.org’ from the ‘Package source’ dropdown list.
  3. Search for a package ‘NUnit’ with a not latest version (for example, 4.3.1) and click the ‘Install’ button.
  4. Go to the ‘Installed’ tab and uninstall the package.
  5. Go back to the ‘Browse’ tab and install the package with the same version (NUnit 4.3.1) again.
  6. Go to the ‘Updates’ tab and uninstall the package.

Expected Result:

PM UI will auto-refresh after the step 3/step 4/step 6.

Actual Result:

PM UI won’t auto-refresh after the step 3/step 4/step 6 as the screenshots below.

Image Image Image

Verbose Logs

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions