From 4af0619aa1030d5dc8c845d9fe9ea4b6eae68d18 Mon Sep 17 00:00:00 2001 From: Ieuan Walker Date: Tue, 19 Nov 2024 17:22:05 +0000 Subject: [PATCH] .NET 9 (#8) Updated the min/ target framework to .NET 9 --- .github/workflows/Release.yml | 2 +- .github/workflows/build.yml | 2 +- Demo/App.csproj | 165 ++++++---------------- Demo/App.xaml | 2 +- Demo/MainPage.xaml | 2 +- Demo/Pages/AccessibilityTestPage.xaml | 2 +- Demo/Pages/ButtonNotInScrollViewPage.xaml | 2 +- Demo/Pages/ExamplePage.xaml | 2 +- Demo/Platforms/Android/MainActivity.cs | 1 + Demo/Platforms/iOS/AppDelegate.cs | 1 + Demo/Resources/Styles/Colors.xaml | 2 +- Demo/Resources/Styles/Styles.xaml | 2 +- Scr/IeuanWalker.Maui.StateButton.csproj | 56 ++++---- Scr/StateButton.xaml | 2 +- 14 files changed, 80 insertions(+), 163 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 8dcb102..6f503ea 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -5,7 +5,7 @@ on: types: [published] env: - NET_VERSION: 7.0.101 + NET_VERSION: 9.*.* PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.${{ github.event.release.tag_name }}.nupkg' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2384284..f4fbae5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: - cron: '0 0 1 */3 *' # Every 3 months env: - NET_VERSION: 7.0.101 + NET_VERSION: 9.*.* PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.1.0.0.nupkg' diff --git a/Demo/App.csproj b/Demo/App.csproj index 8e586ea..89dbdf8 100644 --- a/Demo/App.csproj +++ b/Demo/App.csproj @@ -1,124 +1,45 @@  - - - net7.0-android;net7.0-ios; - Exe - App - true - true - enable + + net9.0-android;net9.0-ios; + Exe + App + true + true + enable enable - - - StateButton demo - - - IeuanWalker.Demo.StateButton - 78B8245A-7B57-41B6-A3BC-DA159DC85DE2 - - - 1.0 - 1 - - 14.2 - 21.0 - - - - automatic - VS: WildCard Development - iPhone Distribution: CARDIFF COUNTY COUNCIL (RHSME4M265) - - - - Apple Development: Ieuan Walker (R4SVVV33HW) - VS: WildCard Development - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AccessibilityTestPage.xaml - - - EventCommandPage.xaml - - - - - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - MSBuild:Compile - - - - - - - - - MSBuild:Compile - - - - + + StateButton demo + + IeuanWalker.Demo.StateButton + 78B8245A-7B57-41B6-A3BC-DA159DC85DE2 + + 1.0 + 1 + 14.2 + 21.0 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Demo/App.xaml b/Demo/App.xaml index 0420fb6..c01b288 100644 --- a/Demo/App.xaml +++ b/Demo/App.xaml @@ -1,4 +1,4 @@ - + + + + + + #FFFFFF diff --git a/Demo/Resources/Styles/Styles.xaml b/Demo/Resources/Styles/Styles.xaml index 96887d7..36789db 100644 --- a/Demo/Resources/Styles/Styles.xaml +++ b/Demo/Resources/Styles/Styles.xaml @@ -1,4 +1,4 @@ - +