From 5538db6a722f1d7206d6586b9a356714c6b5f479 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Fri, 18 Oct 2024 14:32:31 -0400 Subject: [PATCH] Continue net9.0 updates --- facebook/sample/Sample.csproj | 6 ------ firebase/README.md | 2 +- .../Firebase.MaciOS.Binding.csproj | 19 ++++++++--------- firebase/sample/App.xaml.cs | 5 ++++- firebase/sample/Sample.csproj | 17 +++++++-------- .../GoogleCast.MaciOS.Binding.csproj | 21 +++++++++---------- googlecast/sample/App.xaml.cs | 5 ++++- googlecast/sample/GoogleCast.Sample.csproj | 8 +++---- .../NewBinding.Android.Binding.csproj | 12 ++++------- .../NewBinding.MaciOS.Binding.csproj | 12 +++-------- template/sample/App.xaml.cs | 5 ++++- template/sample/MauiSample.csproj | 8 ++----- 12 files changed, 53 insertions(+), 67 deletions(-) diff --git a/facebook/sample/Sample.csproj b/facebook/sample/Sample.csproj index 6db317d..e5ff8cb 100644 --- a/facebook/sample/Sample.csproj +++ b/facebook/sample/Sample.csproj @@ -26,15 +26,9 @@ 1.0 1 - - None - 15.0 15.0 21.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 diff --git a/firebase/README.md b/firebase/README.md index 62bf2d3..6328d32 100644 --- a/firebase/README.md +++ b/firebase/README.md @@ -3,7 +3,7 @@ This folder contains a slim binding for the Firebase SDK which demonstrates simp ### Build and Run ```shell - dotnet build sample -t:Run -f net8.0-ios + dotnet build sample -t:Run -f net9.0-ios ``` ### Configure diff --git a/firebase/macios/Firebase.MaciOS.Binding/Firebase.MaciOS.Binding.csproj b/firebase/macios/Firebase.MaciOS.Binding/Firebase.MaciOS.Binding.csproj index 76a99f5..78b4975 100644 --- a/firebase/macios/Firebase.MaciOS.Binding/Firebase.MaciOS.Binding.csproj +++ b/firebase/macios/Firebase.MaciOS.Binding/Firebase.MaciOS.Binding.csproj @@ -1,27 +1,26 @@ - net8.0-ios;net8.0-maccatalyst + net9.0-ios;net9.0-maccatalyst enable true true - true - - - - + + true + - + MauiFirebase - Firebase - true - + diff --git a/firebase/sample/App.xaml.cs b/firebase/sample/App.xaml.cs index c456561..8bbb5f6 100644 --- a/firebase/sample/App.xaml.cs +++ b/firebase/sample/App.xaml.cs @@ -5,7 +5,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppTabbedPage(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppTabbedPage()); } } \ No newline at end of file diff --git a/firebase/sample/Sample.csproj b/firebase/sample/Sample.csproj index 96b024c..68a99f4 100644 --- a/firebase/sample/Sample.csproj +++ b/firebase/sample/Sample.csproj @@ -1,7 +1,8 @@  - net8.0-ios;net8.0-maccatalyst + net9.0-ios;net9.0-maccatalyst + 1.0 1 - None - - 13.0 - 13.1 + 15.0 + 15.0 @@ -51,10 +50,7 @@ - - - GoogleService-Info.plist - + @@ -62,6 +58,9 @@ + + GoogleService-Info.plist + diff --git a/googlecast/macios/GoogleCast.MaciOS.Binding/GoogleCast.MaciOS.Binding.csproj b/googlecast/macios/GoogleCast.MaciOS.Binding/GoogleCast.MaciOS.Binding.csproj index c98bce2..ff7e418 100644 --- a/googlecast/macios/GoogleCast.MaciOS.Binding/GoogleCast.MaciOS.Binding.csproj +++ b/googlecast/macios/GoogleCast.MaciOS.Binding/GoogleCast.MaciOS.Binding.csproj @@ -1,31 +1,30 @@ - net8.0-ios + net9.0-ios enable true true - $(BuildXcodeProjectsDependsOnTargets);NativeDependencies + + true + $(MaciOSPrepareForBuildDependsOn);DownloadNativeDependencies - - - - - + MauiGoogleCast - GoogleCast - false - + - + - + - + newbinding - + - - - - diff --git a/template/macios/NewBinding.MaciOS.Binding/NewBinding.MaciOS.Binding.csproj b/template/macios/NewBinding.MaciOS.Binding/NewBinding.MaciOS.Binding.csproj index afe7d35..296231c 100644 --- a/template/macios/NewBinding.MaciOS.Binding/NewBinding.MaciOS.Binding.csproj +++ b/template/macios/NewBinding.MaciOS.Binding/NewBinding.MaciOS.Binding.csproj @@ -1,6 +1,6 @@ - net8.0-ios;net8.0-maccatalyst + net9.0-ios;net9.0-maccatalyst enable true true @@ -19,19 +19,13 @@ - + NewBinding - NewBindingMaciOS - true - + - - - - diff --git a/template/sample/App.xaml.cs b/template/sample/App.xaml.cs index d046d8d..a066101 100644 --- a/template/sample/App.xaml.cs +++ b/template/sample/App.xaml.cs @@ -5,7 +5,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } diff --git a/template/sample/MauiSample.csproj b/template/sample/MauiSample.csproj index ee6108f..79082bc 100644 --- a/template/sample/MauiSample.csproj +++ b/template/sample/MauiSample.csproj @@ -1,7 +1,7 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst + net9.0-android;net9.0-ios;net9.0-maccatalyst