Set CETCompat to false

This commit is contained in:
Jack251970 2025-08-05 15:15:11 +08:00
parent ec2af81e62
commit 4db825debd
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,7 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio> <AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!-- Work around https://github.com/dotnet/runtime/issues/109682 -->
<CETCompat>false</CETCompat>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -136,7 +136,6 @@
<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile"> <Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">
<!-- Work around https://github.com/dotnet/wpf/issues/6792 --> <!-- Work around https://github.com/dotnet/wpf/issues/6792 -->
<ItemGroup> <ItemGroup>
<FilteredAnalyzer Include="@(Analyzer-&gt;Distinct())" /> <FilteredAnalyzer Include="@(Analyzer-&gt;Distinct())" />
<Analyzer Remove="@(Analyzer)" /> <Analyzer Remove="@(Analyzer)" />