Skip to content

Commit b1ddfc9

Browse files
authored
Merge pull request #2 from SyncfusionExamples/net9
Updated the sample to the NET 9 configuration.
2 parents 63e22ee + 42c9cf5 commit b1ddfc9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

SfComboBox/SfComboBox/SfComboBox.csproj

Lines changed: 11 additions & 9 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>
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);net7.0-tizen</TargetFrameworks> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88
<OutputType>Exe</OutputType>
99
<RootNamespace>SfComboBox</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'">11.0</SupportedOSPlatformVersion>
26-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</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,10 +49,12 @@
4949
</ItemGroup>
5050

5151
<ItemGroup>
52-
<PackageReference Include="CommunityToolkit.Maui" Version="6.1.0" />
53-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
54-
<PackageReference Include="Syncfusion.Maui.Buttons" Version="25.2.6" />
55-
<PackageReference Include="Syncfusion.Maui.Inputs" Version="25.2.6" />
52+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
53+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
54+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="*" />
55+
<PackageReference Include="CommunityToolkit.Maui" Version="*" />
56+
<PackageReference Include="Syncfusion.Maui.Buttons" Version="*" />
57+
<PackageReference Include="Syncfusion.Maui.Inputs" Version="*" />
5658
</ItemGroup>
5759

5860
</Project>

0 commit comments

Comments
 (0)