Skip to content

Commit e855e3e

Browse files
authored
Merge pull request #3 from SyncfusionExamples/net9
Updated the sample to the NET 9 configuration.
2 parents ee8fce0 + 0449c47 commit e855e3e

File tree

4 files changed

+9
-22
lines changed

4 files changed

+9
-22
lines changed

ComboBoxEnumSample/ComboBoxBlank/ComboBoxBlank.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>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.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 -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88
<OutputType>Exe</OutputType>
99
<RootNamespace>ComboBoxBlank</RootNamespace>
1010
<UseMaui>true</UseMaui>
@@ -22,8 +22,8 @@
2222
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
2323
<ApplicationVersion>1</ApplicationVersion>
2424

25-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
26-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
25+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
26+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
2727
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
2828
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
2929
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
@@ -49,7 +49,9 @@
4949
</ItemGroup>
5050

5151
<ItemGroup>
52-
<PackageReference Include="Syncfusion.Maui.Inputs" Version="20.3.47" />
52+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
53+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
54+
<PackageReference Include="Syncfusion.Maui.Inputs" Version="*" />
5355
</ItemGroup>
5456

5557
</Project>

ComboBoxEnumSample/ComboBoxBlank/ComboBoxBlank.csproj.user

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

ComboBoxEnumSample/ComboBoxBlank/MainPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<editors:SfComboBox x:Name="comboBox"
1414
WidthRequest="250"
1515
HeightRequest = "70"
16-
BorderColor="Green"
16+
Stroke="Green"
1717
ItemsSource="{Binding SocialMedias}" />
1818
</ContentPage>

ComboBoxEnumSample/ComboBoxBlank/MauiProgram.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
namespace ComboBoxBlank;
22
using Syncfusion.Maui.Core.Hosting;
3-
using Syncfusion.Maui.ListView.Hosting;
43

54
public static class MauiProgram
65
{
@@ -10,7 +9,6 @@ public static MauiApp CreateMauiApp()
109
builder
1110
.UseMauiApp<App>()
1211
.ConfigureSyncfusionCore()
13-
.ConfigureSyncfusionListView()
1412
.ConfigureFonts(fonts =>
1513
{
1614
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");

0 commit comments

Comments
 (0)