From f6e4a75d36ca3c99c93d4a9beeabe33a6c517434 Mon Sep 17 00:00:00 2001 From: Thomas Labrecque Date: Wed, 2 Apr 2025 09:17:54 -0400 Subject: [PATCH] chore!: Dotnet 8 --- BREAKING_CHANGES.md | 4 ++++ build/stage-build.yml | 6 +++--- .../BackButtonManager.Abstractions.csproj | 1 + .../BackButtonManager.Tests.csproj | 3 ++- .../BackButtonManager.Uno.WinUI.csproj | 13 +++++++++---- .../winappsdk-workaround.targets | 2 +- src/BackButtonManager/BackButtonManager.csproj | 1 + 7 files changed, 21 insertions(+), 9 deletions(-) diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md index 60ba7ce..e282514 100644 --- a/BREAKING_CHANGES.md +++ b/BREAKING_CHANGES.md @@ -1,5 +1,9 @@ # Breaking Changes +## 3.0.0 +- Added support for .NET 8. +- Removed support for .NET 7. + ## 2.0.0 * Added Support for .NET 7 * Updated Uno.WinUI to 5.0.19. diff --git a/build/stage-build.yml b/build/stage-build.yml index 4a38158..1d206c1 100644 --- a/build/stage-build.yml +++ b/build/stage-build.yml @@ -1,7 +1,7 @@ parameters: - DotNetVersion: '7.0.102' - UnoCheck_Version: '1.11.0' - UnoCheck_Manifest: 'https://raw.githubusercontent.com/unoplatform/uno.check/146b0b4b23d866bef455494a12ad7ffd2f6f2d20/manifests/uno.ui.manifest.json' + DotNetVersion: '8.0.401' + UnoCheck_Version: '1.30.1' + UnoCheck_Manifest: 'https://raw.githubusercontent.com/unoplatform/uno.check/0ca039bef4097295fc6c2c5c282ae18a797160c1/manifests/uno.ui.manifest.json' steps: - task: gitversion/setup@0 diff --git a/src/BackButtonManager.Abstractions/BackButtonManager.Abstractions.csproj b/src/BackButtonManager.Abstractions/BackButtonManager.Abstractions.csproj index 40e33c1..8c84399 100644 --- a/src/BackButtonManager.Abstractions/BackButtonManager.Abstractions.csproj +++ b/src/BackButtonManager.Abstractions/BackButtonManager.Abstractions.csproj @@ -1,6 +1,7 @@  netstandard2.0 + 12.0 Chinook.BackButtonManager nventive nventive diff --git a/src/BackButtonManager.Tests/BackButtonManager.Tests.csproj b/src/BackButtonManager.Tests/BackButtonManager.Tests.csproj index ec38a6e..e1246af 100644 --- a/src/BackButtonManager.Tests/BackButtonManager.Tests.csproj +++ b/src/BackButtonManager.Tests/BackButtonManager.Tests.csproj @@ -1,7 +1,8 @@  - net472 + net8.0 + 12.0 false Chinook.BackButtonManager.Tests BackButtonManager.Tests diff --git a/src/BackButtonManager.Uno.WinUI/BackButtonManager.Uno.WinUI.csproj b/src/BackButtonManager.Uno.WinUI/BackButtonManager.Uno.WinUI.csproj index 95bd1cf..fbbc0b9 100644 --- a/src/BackButtonManager.Uno.WinUI/BackButtonManager.Uno.WinUI.csproj +++ b/src/BackButtonManager.Uno.WinUI/BackButtonManager.Uno.WinUI.csproj @@ -1,6 +1,7 @@  - net7.0;net7.0-ios;net7.0-maccatalyst;net7.0-macos;net7.0-android;net7.0-windows10.0.19041; + net8.0;net8.0-ios;net8.0-maccatalyst;net8.0-macos;net8.0-android;net8.0-windows10.0.19041; + 12.0 true Chinook.BackButtonManager @@ -34,17 +35,21 @@ - + - + + win-x86;win-x64;win-arm64 + + + $(DefineConstants);__WASM__ - + %(Filename) diff --git a/src/BackButtonManager.Uno.WinUI/winappsdk-workaround.targets b/src/BackButtonManager.Uno.WinUI/winappsdk-workaround.targets index aabc9c5..31f8384 100644 --- a/src/BackButtonManager.Uno.WinUI/winappsdk-workaround.targets +++ b/src/BackButtonManager.Uno.WinUI/winappsdk-workaround.targets @@ -2,7 +2,7 @@ diff --git a/src/BackButtonManager/BackButtonManager.csproj b/src/BackButtonManager/BackButtonManager.csproj index 3474ba7..b557610 100644 --- a/src/BackButtonManager/BackButtonManager.csproj +++ b/src/BackButtonManager/BackButtonManager.csproj @@ -1,6 +1,7 @@  netstandard2.0 + 12.0 Chinook.BackButtonManager nventive nventive