GCR deployment testing in progress - content type issue still remaining.
This commit is contained in:
@@ -13,8 +13,19 @@
|
||||
<EnableRequestDelegateGenerator>true</EnableRequestDelegateGenerator>
|
||||
<PublishAot>true</PublishAot>
|
||||
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Immediate.Apis.Generators</InterceptorsPreviewNamespaces>
|
||||
<!--
|
||||
IL2026 warnings come from STJ-generated serializers for Task → AggregateException → Exception.TargetSite.
|
||||
We register Task/ValueTask in AppJsonSerializerContext only so RequestDelegateFactory.GetTypeInfo()
|
||||
doesn't throw at startup — we never actually serialize a Task. TargetSite is unsupported in
|
||||
NativeAOT anyway, so suppressing this warning here is safe.
|
||||
-->
|
||||
<NoWarn>$(NoWarn);IL2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<RdXmlFile Include="rd.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<CompilerVisibleProperty Include="RootNamespace" />
|
||||
<CompilerVisibleProperty Include="MSBuildProjectDirectory" />
|
||||
|
||||
Reference in New Issue
Block a user