Skip to content

Commit a9f259c

Browse files
committed
Avoid using anycpu for uwp libraries
1 parent db6b20d commit a9f259c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MultiTarget/WinUI.Extra.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<None PackagePath="lib/net7.0-windows10.0.18362" Include="$(MSBuildThisFileDirectory)/_._" Pack="true" />
2222
</ItemGroup>
2323

24+
<PropertyGroup Condition="'$(IsUwp)' == 'true'">
25+
<Platforms>x86;x64;arm64</Platforms>
26+
</PropertyGroup>
27+
2428
<PropertyGroup Condition="'$(IsWinAppSdk)' == 'true'">
2529
<!-- See https://github.com/microsoft/WindowsAppSDK/issues/3842 -->
2630
<UseRidGraph>true</UseRidGraph>

0 commit comments

Comments
 (0)