Skip to content

Commit 12d0f6f

Browse files
committed
Code updated
1 parent 16031b7 commit 12d0f6f

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

DataGridMAUI/DataGridMAUI.csproj

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<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+
88
<OutputType>Exe</OutputType>
99
<RootNamespace>DataGridMAUI</RootNamespace>
1010
<UseMaui>true</UseMaui>
@@ -22,6 +22,7 @@
2222
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
2323
<ApplicationVersion>1</ApplicationVersion>
2424

25+
<!-- Platform Versions -->
2526
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
2627
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
2728
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
@@ -44,12 +45,14 @@
4445
<!-- Custom Fonts -->
4546
<MauiFont Include="Resources\Fonts\*" />
4647

47-
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
48+
<!-- Raw Assets -->
4849
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
4950
</ItemGroup>
5051

5152
<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="*" />
5355
</ItemGroup>
5456

57+
5558
</Project>
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<ActiveDebugFramework>net6.0-android</ActiveDebugFramework>
4+
<ActiveDebugFramework>net9.0-windows10.0.19041.0</ActiveDebugFramework>
55
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
6-
<ActiveDebugProfile>Pixel 5 - API 30 (Android 11.0 - API 30)</ActiveDebugProfile>
6+
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
77
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
8-
<DefaultDevice>pixel_5_-_api_30</DefaultDevice>
8+
<DefaultDevice>pixel_7_-_api_35</DefaultDevice>
99
</PropertyGroup>
1010
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-android|AnyCPU'">
1111
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
1212
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-android|AnyCPU'">
14+
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
15+
</PropertyGroup>
1316
</Project>

0 commit comments

Comments
 (0)