Skip to content

Commit 2515860

Browse files
Merge pull request #1 from RavikumarAkuthotaSf4250/master
Change sample target version to latest version (.NET 9)
2 parents 7560e65 + 9227d72 commit 2515860

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

TreeViewMAUI/App.xaml.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ public partial class App : Application
55
public App()
66
{
77
InitializeComponent();
8-
9-
MainPage = new MainPage();
8+
}
9+
10+
protected override Window CreateWindow(IActivationState? activationState)
11+
{
12+
return new Window(new MainPage());
1013
}
1114
}
1215
}

TreeViewMAUI/TreeViewMAUI.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.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);net8.0-tizen</TargetFrameworks> -->
88

@@ -63,9 +63,9 @@
6363
<ItemGroup>
6464
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
6565
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
66-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
67-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
68-
<PackageReference Include="Syncfusion.Maui.TreeView" Version="26.1.42" />
66+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="*" />
67+
<PackageReference Include="Newtonsoft.Json" Version="*" />
68+
<PackageReference Include="Syncfusion.Maui.TreeView" Version="*" />
6969
</ItemGroup>
7070

7171
</Project>

0 commit comments

Comments
 (0)