From ce8b59cd75de41e0dbc392e238d7e3eb6a0de559 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Tue, 19 Nov 2024 15:19:29 +0100 Subject: [PATCH 1/3] fix: Downgrade BuildTools --- src/Uno.Sdk/packages.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.Sdk/packages.json b/src/Uno.Sdk/packages.json index 0009e9e7..fb42d3de 100644 --- a/src/Uno.Sdk/packages.json +++ b/src/Uno.Sdk/packages.json @@ -121,7 +121,7 @@ }, { "group": "WinAppSdkBuildTools", - "version": "10.0.26100.1742", + "version": "10.0.22621.3233", // Keep this version until https://github.com/microsoft/WindowsAppSDK/issues/4480 is resolved "packages": [ "Microsoft.Windows.SDK.BuildTools" ] @@ -316,4 +316,4 @@ "Uno.Cupertino.WinUI" ] } -] \ No newline at end of file +] From d0e8bff4a7a6ee2fdb87e8d2367325c9e3108f7c Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Tue, 19 Nov 2024 15:30:28 +0100 Subject: [PATCH 2/3] fix: Skip WinAppSdkBuildTools for updates --- src/Uno.Sdk/packages.json | 2 +- tools/Uno.Sdk.Updater/Program.cs | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Uno.Sdk/packages.json b/src/Uno.Sdk/packages.json index fb42d3de..56b61e14 100644 --- a/src/Uno.Sdk/packages.json +++ b/src/Uno.Sdk/packages.json @@ -121,7 +121,7 @@ }, { "group": "WinAppSdkBuildTools", - "version": "10.0.22621.3233", // Keep this version until https://github.com/microsoft/WindowsAppSDK/issues/4480 is resolved + "version": "10.0.22621.3233", "packages": [ "Microsoft.Windows.SDK.BuildTools" ] diff --git a/tools/Uno.Sdk.Updater/Program.cs b/tools/Uno.Sdk.Updater/Program.cs index b2a504d8..e2a31f0f 100644 --- a/tools/Uno.Sdk.Updater/Program.cs +++ b/tools/Uno.Sdk.Updater/Program.cs @@ -1,3 +1,4 @@ +using System.Globalization; using System.IO.Compression; using System.Text; using System.Text.Json; @@ -296,7 +297,13 @@ static async Task UpdateGroup(ManifestGroup group, NuGetVersion u // Skip Maui on Release branch to avoid AndroidX package misalignment || (!unoVersion.IsPreview && group.Group == "Maui")) { - Console.WriteLine("Leaving group as is: " + group.Group); + Console.WriteLine("Skipping " + group.Group + " to avoid Java misalignment."); + return group; + } + // Skip WinAppSdkBuildTools group due to https://github.com/unoplatform/uno/issues/18840 + else if (string.Equals(group.Group, "WinAppSdkBuildTools", StringComparison.InvariantCultureIgnoreCase)) + { + Console.WriteLine("Skipping " + group.Group + "to avoid issues caused by https://github.com/unoplatform/uno/issues/18840"); return group; } From 8051ac9666634fa9898cda3a46fd8fc94536c4dd Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Tue, 19 Nov 2024 15:47:52 +0100 Subject: [PATCH 3/3] chore: Downgrade to 10.0.22621 --- src/Uno.Sdk/ReadMe.md | 4 +- .../unoapp/.run/MyExtensionsApp.1.run.xml | 2 +- .../unoapp/.template.config/template.json | 256 +++++++++--------- .../MyExtensionsApp.1.MauiControls.csproj | 2 +- .../unolib/CrossTargetedLibrary.csproj | 2 +- tools/TemplateTfmSwitchGenerator/Program.cs | 2 +- 6 files changed, 134 insertions(+), 134 deletions(-) diff --git a/src/Uno.Sdk/ReadMe.md b/src/Uno.Sdk/ReadMe.md index b038fd4d..9809fbc1 100644 --- a/src/Uno.Sdk/ReadMe.md +++ b/src/Uno.Sdk/ReadMe.md @@ -18,7 +18,7 @@ The Uno.Sdk powers the Uno Platform Single Project, including the ability to imp | SkiaSharpVersion | 2.88.9-preview.2.2 | | SvgSkiaVersion | 2.0.0.2 | | WinAppSdkVersion | 1.6.241114003 | -| WinAppSdkBuildToolsVersion | 10.0.26100.1742 | +| WinAppSdkBuildToolsVersion | 10.0.22621.1742 | | MicrosoftLoggingVersion** | 8.0.1 | | WindowsCompatibilityVersion** | 8.0.11 | | MicrosoftIdentityClientVersion | 4.66.2 | @@ -162,7 +162,7 @@ The Uno.Sdk powers the Uno Platform Single Project, including the ability to imp }, { "group": "WinAppSdkBuildTools", - "version": "10.0.26100.1742", + "version": "10.0.22621.1742", "packages": [ "Microsoft.Windows.SDK.BuildTools" ] diff --git a/src/Uno.Templates/content/unoapp/.run/MyExtensionsApp.1.run.xml b/src/Uno.Templates/content/unoapp/.run/MyExtensionsApp.1.run.xml index f8b42cf7..9331475e 100644 --- a/src/Uno.Templates/content/unoapp/.run/MyExtensionsApp.1.run.xml +++ b/src/Uno.Templates/content/unoapp/.run/MyExtensionsApp.1.run.xml @@ -51,7 +51,7 @@