Skip to content

Commit

Permalink
Disable native AoT tests until Microsoft.OpenApi is trim-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia committed Jul 17, 2024
1 parent aa3ac70 commit 26dcc3b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<TestConsoleAppSourceFiles Include="BasicMinimalApiWithOpenApiDependency.cs">
<!-- Disable tests in production until https://github.com/microsoft/OpenAPI.NET/pull/1717 is merged and
released in Microsoft.OpenApi -->
<_TestConsoleAppSourceFiles Include="BasicMinimalApiWithOpenApiDependency.cs">
<EnabledProperties>EnableRequestDelegateGenerator</EnabledProperties>
<InterceptorNamespaces>Microsoft.AspNetCore.Http.Generated</InterceptorNamespaces>
<DisabledFeatureSwitches>Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported</DisabledFeatureSwitches>
</TestConsoleAppSourceFiles>
</_TestConsoleAppSourceFiles>
</ItemGroup>

</Project>

0 comments on commit 26dcc3b

Please sign in to comment.