Skip to content

Commit c07f759

Browse files
authored
Merge pull request #2556 from jeffhandley/jeffhandley/nativeaot-test
Enable ControlFlowGuard on the NativeAOT test
2 parents e5a8d84 + 7358177 commit c07f759

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed
Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>$(TargetFrameworkForNETSDK)</TargetFramework>
6-
<!-- producing more detailed log output -->
7-
<TrimmerSingleWarn>false</TrimmerSingleWarn>
8-
<PublishAot>true</PublishAot>
9-
</PropertyGroup>
102

11-
<PropertyGroup>
12-
<SystemCommandLineDllPath Condition="'$(SystemCommandLineDllPath)'==''">..\..\..\System.CommandLine\bin\Release\$(TargetFrameworkForNETSDK)\System.CommandLine.dll</SystemCommandLineDllPath>
13-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>$(TargetFrameworkForNETSDK)</TargetFramework>
6+
<!-- producing more detailed log output -->
7+
<TrimmerSingleWarn>false</TrimmerSingleWarn>
8+
<PublishAot>true</PublishAot>
9+
<ControlFlowGuard>Guard</ControlFlowGuard>
10+
</PropertyGroup>
1411

15-
<ItemGroup>
16-
<Reference Include="SystemCommandLineDll">
17-
<HintPath>$(SystemCommandLineDllPath)</HintPath>
18-
</Reference>
19-
</ItemGroup>
12+
<PropertyGroup>
13+
<SystemCommandLineDllPath Condition="'$(SystemCommandLineDllPath)'==''">..\..\..\System.CommandLine\bin\Release\$(TargetFrameworkForNETSDK)\System.CommandLine.dll</SystemCommandLineDllPath>
14+
</PropertyGroup>
15+
16+
<ItemGroup>
17+
<Reference Include="SystemCommandLineDll">
18+
<HintPath>$(SystemCommandLineDllPath)</HintPath>
19+
</Reference>
20+
</ItemGroup>
2021

2122
</Project>

0 commit comments

Comments
 (0)