Skip to content

Remove unused IConsoleInitializer and ConsoleInitializer - #7401

Merged
nkolev92 merged 1 commit into
devfrom
dev-nkolev92-removeRedundantCode
May 19, 2026
Merged

nkolev92 merged 1 commit into
devfrom
dev-nkolev92-removeRedundantCode

Conversation

@nkolev92

@nkolev92 nkolev92 commented May 18, 2026 •

Copy link
Copy Markdown
Member

Fixes: https://github.com/NuGet/Client.Engineering/issues/3736

Description

Remove IConsoleInitializer and ConsoleInitializer which have been dead code since they were ported into NuGet.Client in January 2015.
The interface is exported via MEF but never imported or consumed anywhere in the codebase — the consumer likely lived in the old codeplex repo and was never migrated.

Confirmed unused on every available release branch including the oldest (release-4.9.x).

PR Checklist

  • PR has a meaningful title
  • Linked to an existing issue (dead code removal)
  • PR has been tested manually

These types have been dead code since they were ported into NuGet.Client
in 2015. The IConsoleInitializer interface is exported via MEF but never
imported or consumed anywhere in the codebase. The consumer likely lived
in the old nuget.visualstudio repo and was never migrated.

Co-authored-by: Copilot <[email protected]>
@nkolev92
nkolev92 marked this pull request as ready for review May 18, 2026 22:00
@nkolev92
nkolev92 requested a review from a team as a code owner May 18, 2026 22:00
@nkolev92
nkolev92 requested review from jeffkl and martinrrm May 18, 2026 22:00
@nkolev92
nkolev92 merged commit 11b3693 into dev May 19, 2026
17 of 18 checks passed
@nkolev92
nkolev92 deleted the dev-nkolev92-removeRedundantCode branch May 19, 2026 15:44
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.

2 participants