Skip to content

Dotnet 10 requires interceptors feature #3402

@rouke-broersma

Description

@rouke-broersma
  1. .NET 10 now has interceptors enabled by default.
  2. ASP.NET 10 Core features like AddOpenApi/MapOpenApi and Minimal API Validation use interceptors for their purposes.
  3. Stryker uses Roslyn 4.14 where interceptors are disabled by default.
  4. ASSUMPTION: The authors of Stryker need to opt-in to use interceptors, otherwise anything Stryker attempts to recompile, if it uses interceptors, will fail to compile with "CS9137, message: The 'interceptors' feature is not enabled in this namespace."

Originally posted by @aannenko in #3379 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions