|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>net8.0;net8.0-android34.0</TargetFrameworks> |
5 | | - <TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
6 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> |
| 4 | + <TargetFrameworks>net8.0;net8.0-android34.0;net9.0;net9.0-android</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst;net9.0-ios;net9.0-maccatalyst</TargetFrameworks> |
| 6 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0</TargetFrameworks> |
7 | 7 | <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> |
8 | 8 | <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> --> |
9 | 9 | <UseMaui>true</UseMaui> |
10 | 10 | <SingleProject>true</SingleProject> |
11 | 11 | <ImplicitUsings>enable</ImplicitUsings> |
12 | 12 |
|
13 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
14 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 13 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion> |
| 14 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
15 | 15 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
16 | 16 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
17 | 17 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
|
30 | 30 | <RepositoryUrl>https://github.com/oxyplot/oxyplot-maui</RepositoryUrl> |
31 | 31 | </PropertyGroup> |
32 | 32 |
|
33 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'"> |
| 33 | + <PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and $(Configuration)=='Debug'"> |
34 | 34 | <CreatePackage>false</CreatePackage> |
35 | 35 | </PropertyGroup> |
36 | 36 | <ItemGroup> |
| 37 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
37 | 38 | <PackageReference Include="OxyPlot.Core" Version="2.2.0" /> |
38 | 39 | <PackageReference Include="SkiaSharp.HarfBuzz" Version="2.88.8" /> |
39 | 40 | <PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.8" /> |
40 | 41 | </ItemGroup> |
41 | 42 |
|
42 | | - <ItemGroup Condition=" $(TargetFramework.StartsWith('net8.0')) "> |
43 | | - <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.70" /> |
44 | | - </ItemGroup> |
45 | | - |
46 | 43 | <ItemGroup> |
47 | 44 | <None Include="..\..\README.md" Pack="true" PackagePath="\" /> |
48 | 45 | <None Include="..\..\icon.png" Pack="true" PackagePath="\" /> |
|
0 commit comments