|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> |
5 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks> |
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);net6.0-tizen</TargetFrameworks> --> |
| 4 | + <!-- TargetFrameworks for .NET 9 --> |
| 5 | + <TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks> |
| 6 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks> |
| 7 | + |
8 | 8 | <OutputType>Exe</OutputType> |
9 | 9 | <RootNamespace>DataGridMAUI</RootNamespace> |
10 | 10 | <UseMaui>true</UseMaui> |
|
22 | 22 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
23 | 23 | <ApplicationVersion>1</ApplicationVersion> |
24 | 24 |
|
| 25 | + <!-- Platform Versions --> |
25 | 26 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
26 | 27 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
27 | 28 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
|
44 | 45 | <!-- Custom Fonts --> |
45 | 46 | <MauiFont Include="Resources\Fonts\*" /> |
46 | 47 |
|
47 | | - <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 48 | + <!-- Raw Assets --> |
48 | 49 | <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
49 | 50 | </ItemGroup> |
50 | 51 |
|
51 | 52 | <ItemGroup> |
52 | | - <PackageReference Include="Syncfusion.Maui.DataGrid" Version="20.4.50" /> |
| 53 | + <!-- Make sure this Syncfusion version supports .NET 9 --> |
| 54 | + <PackageReference Include="Syncfusion.Maui.DataGrid" Version="*" /> |
53 | 55 | </ItemGroup> |
54 | 56 |
|
| 57 | + |
55 | 58 | </Project> |
0 commit comments