Skip to content

Some projects need to add <InterceptorsNamespaces> with the latest aspnet builds #61177

Closed
dotnet/sdk
#48891
@sebastienros

Description

@sebastienros

Example in Orchard:

/tmp/benchmarks-agent/benchmarks-server-1/iaulnbd3.afr/src/OrchardCore.Modules/OrchardCore.OpenId/obj/Release/net10.0/Microsoft.AspNetCore.Http.ValidationsGenerator/Microsoft.AspNetCore.Http.ValidationsGenerator.ValidationsGenerator/ValidatableInfoResolver.g.cs(79,10): error CS9137: The 'interceptors' feature is not enabled in this namespace. Add '<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.Http.Validation.Generated</InterceptorsNamespaces>' to your project. [/tmp/benchmarks-agent/benchmarks-server-1/iaulnbd3.afr/src/OrchardCore.Modules/OrchardCore.OpenId/OrchardCore.OpenId.csproj::TargetFramework=net10.0]

https://github.com/OrchardCMS/OrchardCore/pull/17685/files

Metadata

Metadata

Assignees

Labels

area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIs

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions