Skip to content

Commit dc82288

Browse files
committed
2 parents a34732d + ca42ddd commit dc82288

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎optimizerDuck/optimizerDuck.csproj‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
44
<TargetFramework>net10.0-windows</TargetFramework>
5+
<!-- CET shadow stacks are enabled by default for .NET 9+ apphosts/singlefilehosts,
6+
but the CoreCLR requires QueueUserAPC2 (Windows 11 build 22000+ / Server 2022
7+
only - it does not exist on Windows 10) whenever shadow stacks are active, so
8+
every published build fails to start on Windows 10 with 0x80131506 ("Your
9+
Windows doesn't fully support CET"). Disable CETCompat to keep the Windows 10
10+
support the README promises. See #50. -->
11+
<CETCompat>false</CETCompat>
512
<LangVersion>latest</LangVersion>
613
<Nullable>enable</Nullable>
714
<ImplicitUsings>enable</ImplicitUsings>

0 commit comments

Comments
 (0)