|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> |
5 | | - <!--<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>--> |
| 4 | + <TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks> |
6 | 6 | <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> |
7 | | - <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> --> |
| 7 | + <!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> --> |
8 | 8 |
|
9 | 9 | <!-- Note for MacCatalyst: |
10 | 10 | The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64. |
|
18 | 18 | <UseMaui>true</UseMaui> |
19 | 19 | <SingleProject>true</SingleProject> |
20 | 20 | <ImplicitUsings>enable</ImplicitUsings> |
| 21 | + <Nullable>enable</Nullable> |
21 | 22 |
|
22 | 23 | <!-- Display name --> |
23 | 24 | <ApplicationTitle>MauiApp1</ApplicationTitle> |
|
29 | 30 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
30 | 31 | <ApplicationVersion>1</ApplicationVersion> |
31 | 32 |
|
32 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
33 | | - <!--<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>--> |
| 33 | + <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> |
| 34 | + <WindowsPackageType>None</WindowsPackageType> |
| 35 | + |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 37 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
34 | 38 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
35 | 39 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
36 | | - <!--<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>--> |
37 | | - <!--<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>--> |
| 40 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 41 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
38 | 42 | </PropertyGroup> |
39 | 43 |
|
40 | 44 | <ItemGroup> |
|
56 | 60 | </ItemGroup> |
57 | 61 |
|
58 | 62 | <ItemGroup> |
59 | | - <PackageReference Include="CommunityToolkit.Maui" Version="9.1.0" /> |
60 | | - <PackageReference Include="CommunityToolkit.Maui.Core" Version="9.1.0" /> |
61 | | - <PackageReference Include="CommunityToolkit.Maui.Maps" Version="2.0.3" /> |
| 63 | + <PackageReference Include="CommunityToolkit.Maui" Version="9.1.1" /> |
| 64 | + <PackageReference Include="CommunityToolkit.Maui.Core" Version="9.1.1" /> |
| 65 | + <PackageReference Include="CommunityToolkit.Maui.Maps" Version="2.0.4" /> |
62 | 66 | <PackageReference Include="CommunityToolkit.Maui.Markup" Version="4.2.0" /> |
63 | 67 | <PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="4.1.2" /> |
64 | 68 | <PackageReference Include="JetBrains.Annotations" Version="2024.3.0" /> |
65 | | - <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.92" /> |
66 | | - <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.92" /> |
67 | | - <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" /> |
| 69 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 70 | + <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.0" /> |
| 71 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" /> |
68 | 72 | </ItemGroup> |
69 | 73 |
|
70 | 74 | <ItemGroup> |
|
0 commit comments