dotnet / dotnet/modernize-dotnet

Agent comments out code instead of applying migration guidance

Open
#1,697 0 comments 0 reactions 0 assignees 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 .NET Framework code that uses static HttpContext.Current, the agent comments out the original code without applying the recommended migration pattern (e.g., injecting IHttpContextAccessor). This leaves commented-out code that compiles but fails at runtime. The agent should follow the ClaimsPrincipal migration guidance and apply the fix

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.