Skip to content

Agent comments out code instead of applying migration guidance #1697

@mikadumont

Description

@mikadumont

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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