extensions
extensions copied to clipboard
Set IsAotCompatible=true for Microsoft.AspNetCore.HeaderParsing
With https://github.com/dotnet/extensions/pull/4871 all projects in src/Libraries were marked as AOT compatible, so the trim and AOT analyzers run during the build.
The only library that couldn't be marked is Microsoft.AspNetCore.HeaderParsing. This is because it is blocked on https://github.com/dotnet/runtime/issues/94547.
https://github.com/dotnet/extensions/blob/a44a76e708dfbd74ece5f4b79d4c092ef6e14c10/src/Libraries/Microsoft.AspNetCore.HeaderParsing/Microsoft.AspNetCore.HeaderParsing.csproj#L11-L12
When the underlying runtime bug is fixed we should enable the config source generator in this library and mark it as AOT compatible.