From e7f176f1f4c92afa931bd56d9256c234e27692d0 Mon Sep 17 00:00:00 2001 From: Christoph Hofmann Date: Sun, 15 Dec 2024 20:55:10 +0100 Subject: [PATCH] Update SDKs and target frameworks to Windows 11 Updated README.md with new SDK versions and setup steps. Updated target frameworks in various .csproj files to net8.0-windows10.0.22621.0. Removed minimum target platform versions and updated runtime identifiers. Added or updated SupportedOSPlatformVersion to 10.0.19041.0. Signed-off-by: Christoph Hofmann --- README.md | 3 ++- src/openHAB.Common/openHAB.Common.csproj | 6 +++--- src/openHAB.Core.Client/openHAB.Core.Client.csproj | 5 ++--- src/openHAB.Core/Openhab.Core.csproj | 5 ++--- src/openHAB.Windows/openHAB.Windows.csproj | 5 ++--- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b0a88e55..2599e9b1 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,9 @@ If you want to contribute to the Windows application, we are here to help you se ### Steps to Set Up: 1. Download and install [Visual Studio Community Edition](https://www.visualstudio.com/downloads/). -2. During installation, ensure to select UWP SDK 17763. +2. During installation, ensure to select Windows 10 SDK 10.0.19041.0 and Windows 11 SDK 10.0.22621. 3. Check out the latest code from GitHub. +4. Install pre-commit hook tooling by executing `setup_pre-commit.ps1` 4. Open the project in Visual Studio (File -> Open -> Project/Solution). 5. Rebuild the solution to fetch all missing NuGet packages. diff --git a/src/openHAB.Common/openHAB.Common.csproj b/src/openHAB.Common/openHAB.Common.csproj index f7ba11ae..52a874c1 100644 --- a/src/openHAB.Common/openHAB.Common.csproj +++ b/src/openHAB.Common/openHAB.Common.csproj @@ -1,10 +1,10 @@  - net6.0-windows10.0.19041.0 - 10.0.17763.0 + net8.0-windows10.0.22621.0 openHAB.Common - win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 true + 10.0.19041.0 diff --git a/src/openHAB.Core.Client/openHAB.Core.Client.csproj b/src/openHAB.Core.Client/openHAB.Core.Client.csproj index 06ff6aa9..055fcf87 100644 --- a/src/openHAB.Core.Client/openHAB.Core.Client.csproj +++ b/src/openHAB.Core.Client/openHAB.Core.Client.csproj @@ -2,7 +2,6 @@ net8.0-windows10.0.22621.0 Library - 10.0.17763.0 win-x86;win-x64;win-arm64 true @@ -10,7 +9,7 @@ true x86;x64;arm64 win-$(Platform).pubxml - 10.0.18362.0 + 10.0.19041.0 $(MSBuildProjectName.Replace(" ", "_")) @@ -48,4 +47,4 @@ - \ No newline at end of file + diff --git a/src/openHAB.Core/Openhab.Core.csproj b/src/openHAB.Core/Openhab.Core.csproj index e85f6150..2beb1da4 100644 --- a/src/openHAB.Core/Openhab.Core.csproj +++ b/src/openHAB.Core/Openhab.Core.csproj @@ -2,7 +2,6 @@ net8.0-windows10.0.22621.0 Library - 10.0.17763.0 win-x86;win-x64;win-arm64 true @@ -10,7 +9,7 @@ true x86;x64;arm64 win-$(Platform).pubxml - 10.0.18362.0 + 10.0.19041.0 $(MSBuildProjectName.Replace(" ", "_")) $(MSBuildProjectName) MSIX @@ -55,4 +54,4 @@ - \ No newline at end of file + diff --git a/src/openHAB.Windows/openHAB.Windows.csproj b/src/openHAB.Windows/openHAB.Windows.csproj index 1e24d444..735e9ed8 100644 --- a/src/openHAB.Windows/openHAB.Windows.csproj +++ b/src/openHAB.Windows/openHAB.Windows.csproj @@ -3,7 +3,6 @@ net8.0-windows10.0.22621.0 x86 WinExe - 10.0.17763.0 OpenHAB.Windows_StoreKey.pfx @@ -21,7 +20,7 @@ x86;x64;arm64 win-$(Platform).pubxml - 10.0.18362.0 + 10.0.19041.0 $(MSBuildProjectName.Replace(" ", "_")) app.manifest @@ -108,4 +107,4 @@ MSBuild:Compile - \ No newline at end of file +