Skip to content

Commit 6ddad77

Browse files
committed
Disabled AoT on test head, enabled on gallery
1 parent c6dff0d commit 6ddad77

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ProjectHeads/App.Head.WinAppSdk.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
<DependencyVariant>WinUI</DependencyVariant>
44
</PropertyGroup>
55

6+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
7+
<PublishAot>true</PublishAot>
8+
</PropertyGroup>
9+
610
<Import Project="$(MSBuildThisFileDirectory)\App.Head.props" />
711
<Import Project="$(MSBuildThisFileDirectory)\Head.WinAppSdk.props" />
812
<Import Project="$(MSBuildThisFileDirectory)\App.Head.WinAppSdk.Dependencies.props" />

ProjectHeads/Head.WinAppSdk.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\WinUI.Extra.props" />
1616

1717
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
18-
<PublishAot>true</PublishAot>
1918
<RuntimeIdentifier Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-$(Platform)</RuntimeIdentifier>
2019
<RuntimeIdentifier Condition="8 > $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))">win10-$(Platform)</RuntimeIdentifier>
2120
</PropertyGroup>

0 commit comments

Comments
 (0)