File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 4646
4747 <MultiTargetPlatformIdentifier Condition =" '$(MultiTargetPlatformIdentifier)' == ''" >$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</MultiTargetPlatformIdentifier >
4848
49- <!-- TODO: Investigate. Should be named IsWindows, but ran into unexpected issues in VS. Property name may be taken and internally used by an SDK. -->
50- <IsWindowsTfm Condition =" $(MultiTargetPlatformIdentifier) == 'windows'" >true</IsWindowsTfm >
51-
5249 <IsDroid Condition =" '$(IsDroid)' == '' AND $(AndroidLibTargetFramework.Contains('$(TargetFramework);')) AND '$(AndroidLibTargetFramework)' != '' AND '$(MultiTargetsDroid)' == 'true'" >true</IsDroid >
5350 <IsMacOS Condition =" '$(IsMacOS)' == '' AND $(MacOSLibTargetFramework.Contains('$(TargetFramework);')) AND '$(MacOSLibTargetFramework)' != '' AND '$(MultiTargetsMacOS)' == 'true'" >true</IsMacOS >
5451 <IsiOS Condition =" '$(IsiOS)' == '' AND $(iOSLibTargetFramework.Contains('$(TargetFramework);')) AND '$(iOSLibTargetFramework)' != '' AND '$(MultiTargetsiOS)' == 'true'" >true</IsiOS >
Original file line number Diff line number Diff line change 1717 -->
1818 <TargetPlatformMinVersion >10.0.17763.0</TargetPlatformMinVersion >
1919 <SupportedOSPlatformVersion >$(TargetPlatformMinVersion)</SupportedOSPlatformVersion >
20- <TargetPlatformVersion Condition =" '$(IsWindowsTfm )' == 'true '" >10.0.26100.0</TargetPlatformVersion >
21- <TargetPlatformVersion Condition =" '$(IsWindowsTfm )' != 'true '" >10.0.19041.0</TargetPlatformVersion >
20+ <TargetPlatformVersion Condition =" '$(MultiTargetPlatformIdentifier )' == 'windows '" >10.0.26100.0</TargetPlatformVersion >
21+ <TargetPlatformVersion Condition =" '$(MultiTargetPlatformIdentifier )' != 'windows '" >10.0.19041.0</TargetPlatformVersion >
2222 </PropertyGroup >
2323
2424 <!-- Workaround, improved error message when consuming from Uno projects with mismatched TFMs -->
3232 <PropertyGroup Condition =" '$(IsUwp)' == 'true'" >
3333 <Platforms >x86;x64;arm64</Platforms >
3434
35- <WindowsSdkPackageVersion Condition =" '$(IsWindowsTfm )' == 'true '" >10.0.26100.54</WindowsSdkPackageVersion >
36- <RuntimeIdentifiers Condition =" '$(IsWindowsTfm )' == 'true '" >win-x86;win-x64;win-arm64</RuntimeIdentifiers >
35+ <WindowsSdkPackageVersion Condition =" '$(MultiTargetPlatformIdentifier )' == 'windows '" >10.0.26100.54</WindowsSdkPackageVersion >
36+ <RuntimeIdentifiers Condition =" '$(MultiTargetPlatformIdentifier )' == 'windows '" >win-x86;win-x64;win-arm64</RuntimeIdentifiers >
3737 </PropertyGroup >
3838
3939 <PropertyGroup Condition =" '$(IsWinAppSdk)' == 'true'" >
5858 </PropertyGroup >
5959
6060 <!-- Disable warnings for 'This call site is reachable on all platforms.' caused by underlying platform. -->
61- <PropertyGroup Condition =" '$(IsUwp)' == 'true' AND '$(IsWindowsTfm )' == 'true '" >
61+ <PropertyGroup Condition =" '$(IsUwp)' == 'true' AND '$(MultiTargetPlatformIdentifier )' == 'windows '" >
6262 <NoWarn >$(NoWarn);CA1416;</NoWarn >
6363 </PropertyGroup >
6464
Original file line number Diff line number Diff line change 66 <!-- Set up the MultiTarget system -->
77 <Import Project =" $(ToolingDirectory)\MultiTarget\Library.props" />
88
9- <Sdk Condition =" '$(IsUwp)' == 'true' AND '$(IsWindowsTfm )' != 'true '" Name =" MSBuild.Sdk.Extras" Version =" 3.0.23" />
9+ <Sdk Condition =" '$(IsUwp)' == 'true' AND '$(MultiTargetPlatformIdentifier )' != 'windows '" Name =" MSBuild.Sdk.Extras" Version =" 3.0.23" />
1010
1111 <!-- Import this component's source project -->
1212 <ItemGroup >
You can’t perform that action at this time.
0 commit comments