Skip to content

Commit 50d1ddb

Browse files
committed
Changed Sample Target Version to Latest .NET9 Target Version.
1 parent 2cbf61e commit 50d1ddb

File tree

4 files changed

+6
-29
lines changed

4 files changed

+6
-29
lines changed

MauiProject/App.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ public partial class App : Application
44
{
55
public App()
66
{
7-
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Mgo+DSMBMAY9C3t2VVhiQlFaclxJVHxOYVF2R2FJeVRzdV9HaUwgOX1dQl9hSXZTfkVrW3tacHdWRWk= ");
87
InitializeComponent();
98

10-
MainPage = new AppShell();
9+
MainPage = new MainPage();
1110
}
1211
}

MauiProject/AppShell.xaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

MauiProject/AppShell.xaml.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

MauiProject/MauiProject.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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>
4+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
77
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
88
<OutputType>Exe</OutputType>
@@ -49,8 +49,9 @@
4949
</ItemGroup>
5050

5151
<ItemGroup>
52-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
53-
<PackageReference Include="Syncfusion.Maui.ListView" Version="20.4.43" />
52+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
53+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="*" />
54+
<PackageReference Include="Syncfusion.Maui.ListView" Version="*" />
5455
</ItemGroup>
5556

5657
</Project>

0 commit comments

Comments
 (0)