Skip to content

Commit

Permalink
Merge pull request #1109 from unoplatform/dev/mazi/downgrade-buildtools
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund authored Nov 21, 2024
2 parents 6c94bab + 8051ac9 commit 40b11fe
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 137 deletions.
4 changes: 2 additions & 2 deletions src/Uno.Sdk/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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"
]
Expand Down
4 changes: 2 additions & 2 deletions 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.26100.1742",
"version": "10.0.22621.3233",
"packages": [
"Microsoft.Windows.SDK.BuildTools"
]
Expand Down Expand Up @@ -316,4 +316,4 @@
"Uno.Cupertino.WinUI"
]
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<!--#if (useWinAppSdk)-->
<configuration default="false" name="MyExtensionsApp.1 (WinAppSDK Unpackaged)" type="LaunchSettings" factoryName=".NET Launch Settings Profile">
<option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/MyExtensionsApp.1/MyExtensionsApp.1.csproj" />
<option name="LAUNCH_PROFILE_TFM" value="$baseTargetFramework$-windows10.0.26100.0" />
<option name="LAUNCH_PROFILE_TFM" value="$baseTargetFramework$-windows10.0.22621.0" />
<option name="LAUNCH_PROFILE_NAME" value="MyExtensionsApp.1 (WinAppSDK Unpackaged)" />
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
Expand Down
256 changes: 128 additions & 128 deletions src/Uno.Templates/content/unoapp/.template.config/template.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<!--#endif-->
<!--#if (useWinAppSdk)-->
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">$baseTargetFramework$-windows10.0.26100</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">$baseTargetFramework$-windows10.0.22621</TargetFrameworks>
<!--#endif-->
<TargetFrameworks>
$baseTargetFramework$;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Uno.Sdk">
<PropertyGroup>
<TargetFrameworks>$baseTargetFramework$;$baseTargetFramework$-ios;$baseTargetFramework$-maccatalyst;$baseTargetFramework$-android;$baseTargetFramework$-windows10.0.26100;$baseTargetFramework$-browserwasm;$baseTargetFramework$-desktop</TargetFrameworks>
<TargetFrameworks>$baseTargetFramework$;$baseTargetFramework$-ios;$baseTargetFramework$-maccatalyst;$baseTargetFramework$-android;$baseTargetFramework$-windows10.0.22621;$baseTargetFramework$-browserwasm;$baseTargetFramework$-desktop</TargetFrameworks>
<UnoSingleProject>true</UnoSingleProject>
<OutputType>Library</OutputType>
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
Expand Down
2 changes: 1 addition & 1 deletion tools/TemplateTfmSwitchGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
new Platform("platforms == android", "platforms != android", "android"),
new Platform("platforms == ios", "platforms != ios", "ios"),
new Platform("platforms == maccatalyst", "platforms != maccatalyst", "maccatalyst"),
new Platform("platforms == windows", "platforms != windows", "windows10.0.26100"),
new Platform("platforms == windows", "platforms != windows", "windows10.0.22621"),
new Platform("platforms == wasm", "platforms != wasm", "browserwasm"),
new Platform("platforms == desktop", "platforms != desktop", "desktop"),
new Platform("useUnitTests == true", "useUnitTests == false", null)
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 40b11fe

Please sign in to comment.