From c36ce3bfdcaf2409c30cdef977b917ccf1ede574 Mon Sep 17 00:00:00 2001 From: David Ortinau Date: Fri, 20 Mar 2026 10:23:31 -0500 Subject: [PATCH] Upgrade SurfingApp to net10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update TargetFrameworks to net10.0 - Upgrade Reactor.Maui to 4.0.16 - Add explicit Microsoft.Maui.Controls 10.0.50 reference - Bump iOS/macCatalyst SupportedOSPlatformVersion to 16.0 - Fix breaking API changes from Reactor.Maui v2/v3 → v4 - Remove EnableMauiReactorHotReload and AddResource calls (removed in v4) - Verified build succeeds for net10.0-ios Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- SurfingApp/MauiProgram.cs | 11 +---- SurfingApp/SurfingApp.csproj | 94 ++++++++++++++++++------------------ 2 files changed, 48 insertions(+), 57 deletions(-) diff --git a/SurfingApp/MauiProgram.cs b/SurfingApp/MauiProgram.cs index 9f99c15..8f34c44 100644 --- a/SurfingApp/MauiProgram.cs +++ b/SurfingApp/MauiProgram.cs @@ -10,16 +10,7 @@ public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder - .UseMauiReactorApp(app => - { - app.AddResource("Resources/Styles/Colors.xaml"); - app.AddResource("Resources/Styles/Styles.xaml"); - - app.SetWindowsSpecificAssetsDirectory("Assets"); - }) -#if DEBUG - .EnableMauiReactorHotReload() -#endif + .UseMauiReactorApp() .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); diff --git a/SurfingApp/SurfingApp.csproj b/SurfingApp/SurfingApp.csproj index bc9125b..f380636 100644 --- a/SurfingApp/SurfingApp.csproj +++ b/SurfingApp/SurfingApp.csproj @@ -1,48 +1,48 @@ - - - - net8.0-android;net8.0-ios - Exe - SurfingApp - true - true - - SurfingApp - - com.companyname.surfingapp - 25f39401-8c74-4bc9-abeb-61c13bdb1fd7 - - 1.0 - 1 - 14.2 - 14.0 - 21.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + net10.0-android;net10.0-ios + Exe + SurfingApp + true + true + + SurfingApp + + com.companyname.surfingapp + 25f39401-8c74-4bc9-abeb-61c13bdb1fd7 + + 1.0 + 1 + 16.0 + 16.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file