|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> |
| 3 | + <TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks> |
4 | 4 | <SingleProject>true</SingleProject> |
5 | 5 | <OutputType>Exe</OutputType> |
6 | | - <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net7.0-ios'">iossimulator-x64</RuntimeIdentifier> |
7 | | - <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net7.0-maccatalyst'">maccatalyst-x64</RuntimeIdentifier> |
8 | | - <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net7.0-macos'">osx-x64</RuntimeIdentifier> |
| 6 | + <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net9.0-ios'">iossimulator-x64</RuntimeIdentifier> |
| 7 | + <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net9.0-maccatalyst'">maccatalyst-x64</RuntimeIdentifier> |
| 8 | + <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net9.0-macos'">osx-x64</RuntimeIdentifier> |
9 | 9 | <!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 --> |
10 | 10 | <!-- <MtouchExtraArgs Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> --> |
11 | 11 | <!-- Required for C# Hot Reload, except for macOS which uses CoreCLR (not Mono) --> |
12 | 12 | <!-- Disabled because of https://github.com/dotnet/runtime/issues/68808 --> |
13 | 13 | <!--<UseInterpreter Condition="'$(Configuration)' == 'Debug' and '$(TargetFramework)' != 'net6.0-maccatalyst' and '$(TargetFramework)' != 'net6.0-macos'">True</UseInterpreter>--> |
14 | 14 | <IsUnoHead>true</IsUnoHead> |
15 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net7.0-ios'">15.4</SupportedOSPlatformVersion> |
16 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net7.0-maccatalyst'">15.4</SupportedOSPlatformVersion> |
17 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net7.0-android'">31.0</SupportedOSPlatformVersion> |
18 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)'=='net7.0-macos'">10.14</SupportedOSPlatformVersion> |
| 15 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-ios'">15.4</SupportedOSPlatformVersion> |
| 16 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-maccatalyst'">15.4</SupportedOSPlatformVersion> |
| 17 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-android'">31.0</SupportedOSPlatformVersion> |
| 18 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)'=='net9.0-macos'">10.14</SupportedOSPlatformVersion> |
19 | 19 | </PropertyGroup> |
20 | 20 | <ItemGroup> |
21 | 21 | <PackageReference Include="ReactiveUI.Uno.WinUI" Version="$(ReactiveUIVersion)" /> |
|
26 | 26 | <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" /> |
27 | 27 | </ItemGroup> |
28 | 28 | <Choose> |
29 | | - <When Condition="'$(TargetFramework)'=='net7.0-android'"> |
| 29 | + <When Condition="'$(TargetFramework)'=='net9.0-android'"> |
30 | 30 | <ItemGroup> |
31 | 31 | <PackageReference Include="Xamarin.Google.Android.Material" Version="[1.5.0]" /> |
32 | 32 | <PackageReference Include="Uno.UniversalImageLoader" Version="1.9.37" /> |
|
35 | 35 | <AndroidEnvironment Include="Android/environment.conf" /> |
36 | 36 | </ItemGroup> |
37 | 37 | </When> |
38 | | - <When Condition="'$(TargetFramework)'=='net7.0-ios'"> |
39 | | - <PropertyGroup Condition="'$(TargetFramework)'=='net7.0-ios'"> |
| 38 | + <When Condition="'$(TargetFramework)'=='net9.0-ios'"> |
| 39 | + <PropertyGroup Condition="'$(TargetFramework)'=='net9.0-ios'"> |
40 | 40 | <MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs> |
41 | 41 | <!-- https://github.com/xamarin/xamarin-macios/issues/14812 --> |
42 | 42 | <MtouchExtraArgs>$(MtouchExtraArgs) --registrar:static --marshal-objectivec-exceptions:disable</MtouchExtraArgs> |
|
45 | 45 | <PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.4.0" /> |
46 | 46 | </ItemGroup> |
47 | 47 | </When> |
48 | | - <When Condition="'$(TargetFramework)'=='net7.0-maccatalyst'"> |
| 48 | + <When Condition="'$(TargetFramework)'=='net9.0-maccatalyst'"> |
49 | 49 | <PropertyGroup> |
50 | 50 | <!-- Configure the GC --> |
51 | 51 | <MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs> |
|
60 | 60 | <PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.4.0" /> |
61 | 61 | </ItemGroup> |
62 | 62 | </When> |
63 | | - <When Condition="'$(TargetFramework)'=='net7.0-macos'"> |
| 63 | + <When Condition="'$(TargetFramework)'=='net9.0-macos'"> |
64 | 64 | <PropertyGroup> |
65 | 65 | </PropertyGroup> |
66 | 66 | </When> |
|
0 commit comments