Skip to content

Commit 8193002

Browse files
Copilotjaviercn
andcommitted
Add RespectRequiredConstructorParametersDefault feature switch to test project
Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
1 parent 832cb6b commit 8193002

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717
</PropertyGroup>
1818

19+
<ItemGroup>
20+
<!-- Enable RespectRequiredConstructorParametersDefault to test compatibility -->
21+
<RuntimeHostConfigurationOption Include="System.Text.Json.Serialization.RespectRequiredConstructorParametersDefault" Value="true" />
22+
</ItemGroup>
23+
1924
<PropertyGroup Condition="'$(TestTrimmedOrMultithreadingApps)' == 'true'">
2025
<!-- Avoid spending time brotli compression publish output.-->
2126
<_BlazorBrotliCompressionLevel>NoCompression</_BlazorBrotliCompressionLevel>

0 commit comments

Comments
 (0)