forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlatformItemGroups.props
121 lines (95 loc) · 5.12 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<Project ToolsVersion="15.0">
<PropertyGroup>
<_IsAndroid>false</_IsAndroid>
<_IsAndroid Condition="$(IsMonoAndroid)">true</_IsAndroid>
<_IsIOS>false</_IsIOS>
<_IsIOS Condition="$(IsXamarinIOS)">true</_IsIOS>
<_IsMacOS>false</_IsMacOS>
<_IsMacOS Condition="'$(TargetFramework)'=='xamarinmac20'">true</_IsMacOS>
<_IsNet>false</_IsNet>
<_IsNet Condition="'$(TargetFramework)'=='net461'">true</_IsNet>
<_IsNetCore>false</_IsNetCore>
<_IsNetCore Condition="'$(TargetFramework)'=='net5.0'">true</_IsNetCore>
<_IsNetStd>false</_IsNetStd>
<_IsNetStd Condition="'$(TargetFramework)'=='netstandard2.0' or $(_IsNetCore)">true</_IsNetStd>
<_IsUWP>false</_IsUWP>
<_IsUWP Condition="'$(TargetFramework)'=='uap10.0'">true</_IsUWP>
</PropertyGroup>
<PropertyGroup Condition="$(_IsIOS)">
<DefineConstants>$(DefineConstants);IOS1_0;XAMARIN;XAMARIN_IOS;XAMARIN_IOS_UNIFIED</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(_IsMacOS)">
<DefineConstants>$(DefineConstants);XAMARIN</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(_IsAndroid)">
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<DefineConstants>$(DefineConstants);__ANDROID__;XAMARIN;MONOANDROID5_0;XAMARIN_ANDROID</DefineConstants>
</PropertyGroup>
<ItemGroup>
<AndroidResource Include="Resources\**\*.xml" Condition="$(_IsAndroid)" />
<None Include="**\*.netstd.cs" Exclude="bin\**\*.netstd.cs;obj\**\*.netstd.cs" />
<Compile Remove="**\*.netstd.cs" />
<Compile Include="**\*.netstd.cs"
Exclude="bin\**\*.netstd.cs;obj\**\*.netstd.cs"
Condition="$(_IsNetStd)" />
<None Include="**\*.wasm.cs" Exclude="bin\**\*.wasm.cs;obj\**\*.wasm.cs" />
<Compile Remove="**\*.wasm.cs" />
<Compile Include="**\*.wasm.cs"
Exclude="bin\**\*.wasm.cs;obj\**\*.wasm.cs"
Condition="$(_IsNetStd) and '$(UnoRuntimeIdentifier)'=='WebAssembly'" />
<None Include="**\*.skia.cs" Exclude="bin\**\*.skia.cs;obj\**\*.skia.cs" />
<Compile Remove="**\*.skia.cs" />
<Compile Include="**\*.skia.cs"
Exclude="bin\**\*.skia.cs;obj\**\*.skia.cs"
Condition="$(_IsNetStd) and '$(UnoRuntimeIdentifier)'=='Skia'" />
<None Include="**\*.netstdref.cs" Exclude="bin\**\*.netstdref.cs;obj\**\*.netstdref.cs" />
<Compile Remove="**\*.netstdref.cs" />
<Compile Include="**\*.netstdref.cs"
Exclude="bin\**\*.netstdref.cs;obj\**\*.netstdref.cs"
Condition="$(_IsNetStd) and '$(UnoRuntimeIdentifier)'=='Reference'" />
<None Include="**\*.iOS.cs" Exclude="bin\**\*.iOS.cs;obj\**\*.iOS.cs" />
<Compile Remove="**\*.iOS.cs" />
<Compile Include="**\*.iOS.cs"
Exclude="bin\**\*.iOS.cs;obj\**\*.iOS.cs"
Condition="$(_IsIOS)" />
<None Include="**\*.macOS.cs" Exclude="bin\**\*.macOS.cs;obj\**\*.macOS.cs" />
<Compile Remove="**\*.macOS.cs" />
<Compile Include="**\*.macOS.cs"
Exclude="bin\**\*.macOS.cs;obj\**\*.macOS.cs"
Condition="$(_IsMacOS)" />
<None Include="**\*.iOSmacOS.cs" Exclude="bin\**\*.iOSmacOS.cs;obj\**\*.iOSmacOS.cs" />
<Compile Remove="**\*.iOSmacOS.cs" />
<Compile Include="**\*.iOSmacOS.cs"
Exclude="bin\**\*.iOSmacOS.cs;obj\**\*.iOSmacOS.cs"
Condition="$(_IsMacOS) or $(_IsIOS)" />
<None Include="**\*.Android.cs" Exclude="bin\**\*.Android.cs;obj\**\*.Android.cs" />
<Compile Remove="**\*.Android.cs" />
<Compile Include="**\*.Android.cs"
Exclude="bin\**\*.Android.cs;obj\**\*.Android.cs"
Condition="$(_IsAndroid)" />
<None Include="**\*.Xamarin.cs" Exclude="bin\**\*.Xamarin.cs;obj\**\*.Xamarin.cs" />
<Compile Remove="**\*.Xamarin.cs" />
<Compile Include="**\*.Xamarin.cs"
Exclude="bin\**\*.Xamarin.cs;obj\**\*.Xamarin.cs"
Condition="$(_IsAndroid) or $(_IsIOS) or $(_IsMacOS)" />
<None Include="**\*.UWP.cs" Exclude="bin\**\*.UWP.cs;obj\**\*.UWP.cs" />
<Compile Remove="**\*.UWP.cs" />
<Compile Include="**\*.UWP.cs"
Exclude="bin\**\*.UWP.cs;obj\**\*.UWP.cs"
Condition="'$(TargetFramework)'=='uap10.0'" />
<None Include="**\*.WinRT.cs" Exclude="bin\**\*.WinRT.cs;obj\**\*.WinRT.cs" />
<Compile Remove="**\*.WinRT.cs" />
<Compile Include="**\*.WinRT.cs"
Exclude="bin\**\*.WinRT.cs;obj\**\*.WinRT.cs"
Condition="'$(TargetFramework)'=='uap10.0'" />
<None Include="**\*.net.cs" Exclude="bin\**\*.WinRT.cs;obj\**\*.net.cs" />
<Compile Remove="**\*.net.cs" />
<Compile Include="**\*.net.cs"
Exclude="bin\**\*.net.cs;obj\**\*.net.cs"
Condition="'$(TargetFramework)'=='net461'" />
<Page Include="**\*.xaml"
Exclude="bin/**/*.xaml;obj/**/*.xaml"
Condition="$(_IsAndroid) or $(_IsIOS) or $(_IsUWP) or $(_IsNetStd) or $(_IsMacOS)" />
</ItemGroup>
</Project>