File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 11<Project >
2+ <!-- Security settings for Control Flow Guard (CFG) and other mitigations -->
3+ <ItemDefinitionGroup >
4+ <ClCompile >
5+ <AdditionalOptions >%(AdditionalOptions) /Qspectre</AdditionalOptions >
6+ <!-- /GS Enable Control Flow Guard -->
7+ <ControlFlowGuard >Guard</ControlFlowGuard >
8+ <!-- Setting this to be compatible with CFG -->
9+ <DebugInformationFormat >OldStyle</DebugInformationFormat >
10+ <SDLCheck >true</SDLCheck >
11+ </ClCompile >
12+ <Link >
13+ <!-- dynamicbase is required for enabling CFG -->
14+ <AdditionalOptions >%(AdditionalOptions) /dynamicbase</AdditionalOptions >
15+ <!-- /GS Enable Control Flow Guard -->
16+ <ControlFlowGuard >Guard</ControlFlowGuard >
17+ <CETCompat Condition =" '$(Platform)'!='ARM64'" >true</CETCompat >
18+ </Link >
19+ </ItemDefinitionGroup >
20+
221 <PropertyGroup >
322 <!-- Central NuGet package versions for C++ WindowsML samples -->
423 <WindowsAppSDKVersion >1.8.251106002</WindowsAppSDKVersion >
You can’t perform that action at this time.
0 commit comments