Skip to content

Commit f0e720e

Browse files
committed
Disable IsReflectionEnabledByDefault to eliminate warning
1 parent 18169e5 commit f0e720e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/DefaultBuilder/test/Microsoft.AspNetCore.NativeAotTests/Microsoft.AspNetCore.NativeAotTests.proj

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
4-
<TestConsoleAppSourceFiles Include="SlimBuilderDoesNotDependOnX509Test.cs" />
4+
<TestConsoleAppSourceFiles Include="SlimBuilderDoesNotDependOnX509Test.cs">
5+
<DisabledFeatureSwitches>System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault</DisabledFeatureSwitches>
6+
</TestConsoleAppSourceFiles>
57
<TestConsoleAppSourceFiles Include="UseStartupThrowsForStructContainersTest.cs" />
68
</ItemGroup>
79

0 commit comments

Comments
 (0)