Skip to content

Commit 335e32f

Browse files
committed
Code updated.
1 parent f04197e commit 335e32f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

MauiApp1/MauiApp1.csproj

Lines changed: 8 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>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.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 updated to .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>MauiApp1</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,13 @@
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="23.1.43" />
53+
<!-- Make sure you're using the latest version compatible with .NET 9 -->
54+
<PackageReference Include="Syncfusion.Maui.DataGrid" Version="*" />
5355
</ItemGroup>
5456

5557
</Project>

0 commit comments

Comments
 (0)