forked from unoplatform/Uno.Themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PlatformItemGroups.props
63 lines (47 loc) · 2.57 KB
/
PlatformItemGroups.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<Project ToolsVersion="15.0">
<PropertyGroup>
<IsMonoAndroid>false</IsMonoAndroid>
<IsMonoAndroid Condition="$(TargetFramework.ToLower().StartsWith('monoandroid'))">true</IsMonoAndroid>
<IsXamarinIOS>false</IsXamarinIOS>
<IsXamarinIOS Condition="$(TargetFramework.ToLower().StartsWith('xamarinios'))">true</IsXamarinIOS>
<IsXamarinMac>false</IsXamarinMac>
<IsXamarinMac Condition="$(TargetFramework.ToLower().StartsWith('xamarinmac'))">true</IsXamarinMac>
</PropertyGroup>
<PropertyGroup>
<_IsAndroid>false</_IsAndroid>
<_IsAndroid Condition="$(IsMonoAndroid) or $(TargetFramework.ToLower().Contains('-android'))">true</_IsAndroid>
<_IsCatalyst>false</_IsCatalyst>
<_IsCatalyst Condition="$(_IsCatalyst) or $(TargetFramework.ToLower().Contains('-maccatalyst'))">true</_IsCatalyst>
<_IsIOS>false</_IsIOS>
<_IsIOS Condition="$(IsXamarinIOS) or $(TargetFramework.ToLower().Contains('-ios'))">true</_IsIOS>
<_IsMacOS>false</_IsMacOS>
<_IsMacOS Condition="$(IsXamarinMac) or $(TargetFramework.ToLower().Contains('-macos'))">true</_IsMacOS>
<IsIOSOrCatalyst>false</IsIOSOrCatalyst>
<IsIOSOrCatalyst Condition="$(_IsIOS) or $(_IsCatalyst)">true</IsIOSOrCatalyst>
<_IsNet>false</_IsNet>
<_IsNet Condition="'$(TargetFramework)'=='net461'">true</_IsNet>
<_IsNetCore>false</_IsNetCore>
<_IsNetCore Condition="'$(TargetFramework)'=='net5.0' or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net7.0'">true</_IsNetCore>
<_IsNetStd>false</_IsNetStd>
<_IsNetStd Condition="'$(TargetFramework)'=='netstandard2.0' or $(_IsNetCore)">true</_IsNetStd>
<_IsUWP>false</_IsUWP>
<_IsUWP Condition="$(TargetFramework.ToLower().StartsWith('uap'))">true</_IsUWP>
<_IsWinUI>false</_IsWinUI>
<_IsWinUI Condition="$(TargetFramework.ToLower().Contains('windows10'))">true</_IsWinUI>
</PropertyGroup>
<PropertyGroup Condition="$(_IsIOS)">
<DefineConstants>$(DefineConstants);IOS1_0;XAMARIN;XAMARIN_IOS;XAMARIN_IOS_UNIFIED</DefineConstants>
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="$(_IsMacOS)">
<DefineConstants>$(DefineConstants);XAMARIN</DefineConstants>
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="$(_IsCatalyst)">
<SupportedOSPlatformVersion>13.1</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="$(_IsAndroid)">
<DefineConstants>$(DefineConstants);__ANDROID__;XAMARIN;MONOANDROID5_0;XAMARIN_ANDROID</DefineConstants>
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion>
</PropertyGroup>
</Project>