Skip to content

Remove unused Product Update InfoBar and IProductUpdateService#7547

Merged
donnie-msft merged 3 commits into
devfrom
dev-donnie-msft-infobarRemoveProductUpdate
Jul 9, 2026
Merged

Remove unused Product Update InfoBar and IProductUpdateService#7547
donnie-msft merged 3 commits into
devfrom
dev-donnie-msft-infobarRemoveProductUpdate

Conversation

@donnie-msft

@donnie-msft donnie-msft commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bug

Fixes: NuGet/Home#14981

Description

While reviewing the InfoBars in the PM UI, I discovered the ProductUpdateBar is dead code that's declared but unused at runtime by the Package Manager Console (PMC).

Removes the following dead code:

  • NuGet.PackageManagement.IProductUpdateService
  • NuGet.PackageManagement.VisualStudio/IDE/VSProductUpdateService.cs
  • NuGet.PackageManagement.UI.ProductUpdateBar
  • Associated Resource strings, global suppressions, etc.

The API Change here is for VS APIs that were not used. Therefore, deleting these APIs should be safe.

Validation

Tested by opening PMC with both a PackageReference and then a Packages.config project and running some PMC commands.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@donnie-msft donnie-msft requested a review from a team as a code owner July 8, 2026 18:37
Comment thread src/NuGet.Core/NuGet.PackageManagement/PublicAPI.Unshipped.txt Outdated
@donnie-msft donnie-msft enabled auto-merge (squash) July 9, 2026 16:01
@donnie-msft donnie-msft merged commit fce5581 into dev Jul 9, 2026
20 of 21 checks passed
@donnie-msft donnie-msft deleted the dev-donnie-msft-infobarRemoveProductUpdate branch July 9, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unused Product Update InfoBar & services in PMC

3 participants