Skip to content

Commit 591ac71

Browse files
committed
Fix AOT build
1 parent b4dfc60 commit 591ac71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/Elastic.Documentation.Api.Infrastructure/Elastic.Documentation.Api.Infrastructure.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<EnableRequestDelegateGenerator>true</EnableRequestDelegateGenerator>
8+
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.AspNetCore.Http.Generated</InterceptorsPreviewNamespaces>
79
<AssemblyName>Elastic.Documentation.Api.Infrastructure</AssemblyName>
810
<RootNamespace>Elastic.Documentation.Api.Infrastructure</RootNamespace>
911
</PropertyGroup>

0 commit comments

Comments
 (0)