|
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 | + <!-- Targeting .NET 9 multi-platform --> |
| 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 | + <!-- Optional: Add tizen if needed --> |
| 9 | + <!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> --> |
| 10 | + |
8 | 11 | <OutputType>Exe</OutputType> |
9 | 12 | <RootNamespace>DataGridMAUI</RootNamespace> |
10 | 13 | <UseMaui>true</UseMaui> |
11 | 14 | <SingleProject>true</SingleProject> |
12 | 15 | <ImplicitUsings>enable</ImplicitUsings> |
13 | 16 |
|
14 | | - <!-- Display name --> |
| 17 | + <!-- App metadata --> |
15 | 18 | <ApplicationTitle>DataGridMAUI</ApplicationTitle> |
16 | | - |
17 | | - <!-- App Identifier --> |
18 | 19 | <ApplicationId>com.companyname.datagridmaui</ApplicationId> |
19 | 20 | <ApplicationIdGuid>3cc82585-b31c-45a6-a753-aa17619d153d</ApplicationIdGuid> |
20 | | - |
21 | | - <!-- Versions --> |
22 | 21 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
23 | 22 | <ApplicationVersion>1</ApplicationVersion> |
24 | 23 |
|
| 24 | + <!-- Supported platform versions --> |
25 | 25 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
26 | 26 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
27 | 27 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
|
41 | 41 | <MauiImage Include="Resources\Images\*" /> |
42 | 42 | <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
43 | 43 |
|
44 | | - <!-- Custom Fonts --> |
| 44 | + <!-- Fonts --> |
45 | 45 | <MauiFont Include="Resources\Fonts\*" /> |
46 | 46 |
|
47 | | - <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 47 | + <!-- Raw Assets --> |
48 | 48 | <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
49 | 49 | </ItemGroup> |
50 | 50 |
|
51 | 51 | <ItemGroup> |
52 | | - <PackageReference Include="Syncfusion.Maui.DataGrid" Version="20.4.51" /> |
| 52 | + <PackageReference Include="Syncfusion.Maui.DataGrid" Version="*" /> |
53 | 53 | </ItemGroup> |
54 | 54 |
|
| 55 | + |
55 | 56 | </Project> |
0 commit comments