dotnet / dotnet/modernize-dotnet

Agent removes incompatible packages but doesn't prompt for replacement

Open
#1,702 1 comment 0 reactions 1 assignee Claimed by @abpiskunov View on GitHub
Dominant language
Shell
Stars
1.2k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

### Description

Direct customer feedback:

> When upgrading a .NET 6 application to .NET 10, the agent removed an APM package because it doesn't support .NET 10, but did not ask what to replace it with. The customer uses a different APM provider as their replacement, but the agent had no way to know that.

Expected Behavior

The agent should prompt the user when removing a dependency that has no compatible version, asking whether they want to specify an alternative. Ideally, org-level dependency replacement mappings could be configured (e.g., "if removing PackageA, suggest PackageB").

Additional Context:

Related to #1688 (resolving to specified versions) but distinct — this is specifically about prompting for alternatives when a package is being removed entirely due to incompatibility.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.