|
10 | 10 | <PropertyGroup Condition="$(TargetFramework.StartsWith('netstandard'))"> |
11 | 11 | <DefineConstants>$(DefineConstants);NETSTANDARD;PORTABLE</DefineConstants> |
12 | 12 | </PropertyGroup> |
| 13 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))"> |
| 14 | + <DefineConstants>$(DefineConstants);NETCOREAPP</DefineConstants> |
| 15 | + </PropertyGroup> |
| 16 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp2'))"> |
| 17 | + <DefineConstants>$(DefineConstants);NETCOREAPP2</DefineConstants> |
| 18 | + </PropertyGroup> |
| 19 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp3'))"> |
| 20 | + <DefineConstants>$(DefineConstants);NETCOREAPP3</DefineConstants> |
| 21 | + </PropertyGroup> |
13 | 22 | <PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))"> |
14 | 23 | <DefineConstants>$(DefineConstants);NET_461;XAML</DefineConstants> |
15 | 24 | </PropertyGroup> |
16 | 25 | <PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))"> |
17 | | - <DefineConstants>$(DefineConstants);NETFX_CORE;XAML;WINDOWS;WINDOWS_UWP</DefineConstants> |
| 26 | + <TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion> |
| 27 | + <DefineConstants>$(DefineConstants);NETFX_CORE;XAML;WINDOWS_UWP</DefineConstants> |
18 | 28 | </PropertyGroup> |
19 | 29 | <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS'))"> |
20 | 30 | <DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA;IOS</DefineConstants> |
21 | 31 | </PropertyGroup> |
22 | | - <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac'))"> |
| 32 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('net6.0-ios'))"> |
| 33 | + <DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA;IOS</DefineConstants> |
| 34 | + </PropertyGroup> |
| 35 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac'))"> |
23 | 36 | <DefineConstants>$(DefineConstants);MONO;COCOA;MAC</DefineConstants> |
24 | 37 | </PropertyGroup> |
25 | | - <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.TVOS'))"> |
| 38 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('net6.0-macos'))"> |
| 39 | + <DefineConstants>$(DefineConstants);MONO;COCOA;MAC</DefineConstants> |
| 40 | + </PropertyGroup> |
| 41 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.TVOS'))"> |
| 42 | + <DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA;TVOS</DefineConstants> |
| 43 | + </PropertyGroup> |
| 44 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('net6.0-tvos'))"> |
26 | 45 | <DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA;TVOS</DefineConstants> |
27 | 46 | </PropertyGroup> |
28 | 47 | <PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.WatchOS'))"> |
29 | | - <DefineConstants>$(DefineConstants);MONO;COCOA;WATCHOS</DefineConstants> |
| 48 | + <DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA;WATCHOS</DefineConstants> |
30 | 49 | </PropertyGroup> |
31 | 50 | <PropertyGroup Condition="$(TargetFramework.StartsWith('MonoAndroid'))"> |
32 | 51 | <DefineConstants>$(DefineConstants);MONO;ANDROID</DefineConstants> |
33 | 52 | <DesignTimeBuild>false</DesignTimeBuild> |
34 | 53 | </PropertyGroup> |
35 | | - <PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))"> |
36 | | - <DefineConstants>$(DefineConstants);NETCOREAPP</DefineConstants> |
| 54 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('net6.0-android'))"> |
| 55 | + <DefineConstants>$(DefineConstants);MONO;ANDROID</DefineConstants> |
37 | 56 | </PropertyGroup> |
38 | 57 | <PropertyGroup Condition="$(TargetFramework.StartsWith('tizen'))"> |
39 | 58 | <DefineConstants>$(DefineConstants);TIZEN</DefineConstants> |
|
0 commit comments