Skip to content

Commit 053865c

Browse files
Arlodotexemichael-hawker
authored andcommitted
Fixed an issue where components weren't building in Visual Studio due to invalid platform configuration mapping
1 parent ba9b055 commit 053865c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MultiTarget/Extra.props

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<SupportedOSPlatformVersion>$(TargetPlatformMinVersion)</SupportedOSPlatformVersion>
1111
<TargetPlatformVersion Condition="'$(MultiTargetPlatformIdentifier)' == 'windows'">10.0.26100.0</TargetPlatformVersion>
1212
<TargetPlatformVersion Condition="'$(MultiTargetPlatformIdentifier)' != 'windows'">10.0.19041.0</TargetPlatformVersion>
13+
14+
<Platforms>x86;x64;arm64</Platforms>
1315
</PropertyGroup>
1416

1517
<!-- Workaround, improved error message when consuming from Uno projects with mismatched TFMs -->
@@ -20,9 +22,7 @@
2022
<None PackagePath="lib/net7.0-windows10.0.18362" Include="$(MSBuildThisFileDirectory)/_._" Pack="true" />
2123
</ItemGroup>
2224

23-
<PropertyGroup Condition="'$(IsUwp)' == 'true'">
24-
<Platforms>x86;x64;arm64</Platforms>
25-
25+
<PropertyGroup Condition="'$(IsUwp)' == 'true'">
2626
<WindowsSdkPackageVersion Condition="'$(MultiTargetPlatformIdentifier)' == 'windows'">10.0.26100.57</WindowsSdkPackageVersion>
2727
<RuntimeIdentifiers Condition="'$(MultiTargetPlatformIdentifier)' == 'windows'">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
2828
</PropertyGroup>

0 commit comments

Comments
 (0)