Skip to content

Commit

Permalink
fix: Skip WinAppSdkBuildTools for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Nov 19, 2024
1 parent f543cb4 commit 553da3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Uno.Sdk/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
9 changes: 8 additions & 1 deletion tools/Uno.Sdk.Updater/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Globalization;
using System.IO.Compression;
using System.Text;
using System.Text.Json;
Expand Down Expand Up @@ -296,7 +297,13 @@ static async Task<ManifestGroup> 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;
}

Expand Down

0 comments on commit 553da3a

Please sign in to comment.