Skip to content

Commit 7ba4b74

Browse files
committed
Remove .NET 8, use stable .NET 10 versions
1 parent 223061d commit 7ba4b74

34 files changed

Lines changed: 44 additions & 1689 deletions

samples/Foo.Bar.SampleApp.Hybrid/Foo.Bar.SampleApp.Hybrid.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
4+
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
55

66
<OutputType>Exe</OutputType>
77
<RootNamespace>Foo.Bar.SampleApp.Hybrid</RootNamespace>
@@ -20,11 +20,20 @@
2020
<!-- Versions -->
2121
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
2222
<ApplicationVersion>1</ApplicationVersion>
23-
24-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
25-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
23+
24+
<CheckEolWorkloads>false</CheckEolWorkloads>
2625
</PropertyGroup>
2726

27+
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0-ios'">
28+
<TargetPlatformVersion>18.0</TargetPlatformVersion>
29+
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion>
30+
</PropertyGroup>
31+
32+
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0-android'">
33+
<TargetPlatformVersion>35.0</TargetPlatformVersion>
34+
<SupportedOSPlatformVersion>35.0</SupportedOSPlatformVersion>
35+
</PropertyGroup>
36+
2837
<ItemGroup>
2938
<!-- App Icon -->
3039
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
@@ -44,9 +53,9 @@
4453
</ItemGroup>
4554

4655
<ItemGroup>
47-
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.100" />
48-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.100" />
49-
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.100" />
56+
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.30" />
57+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.30" />
58+
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="9.0.30" />
5059
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
5160
</ItemGroup>
5261

samples/Foo.Bar.SampleApp.Net10/Foo.Bar.SampleApp.Net10.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
</ItemGroup>
4343

4444
<ItemGroup>
45-
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.0-preview.2.25165.1" />
46-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="10.0.0-preview.2.25165.1" />
47-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0-preview.2.25163.2" />
45+
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.30" />
46+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="10.0.30" />
47+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.2" />
4848
</ItemGroup>
4949

5050
<ItemGroup>

samples/Foo.Bar.SampleApp.Net8/App.xaml

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

samples/Foo.Bar.SampleApp.Net8/App.xaml.cs

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

samples/Foo.Bar.SampleApp.Net8/AppShell.xaml

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

samples/Foo.Bar.SampleApp.Net8/AppShell.xaml.cs

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

samples/Foo.Bar.SampleApp.Net8/Foo.Bar.SampleApp.Net8.csproj

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

0 commit comments

Comments
 (0)