PowerToys/.pipelines
Jaime Bernardo ce5e5647b3
[ci][Arm64]Manually copy WebView2 core dll after publishing (#35711)
After we upgraded Windows App SDK to 1.6, Dev Files Preview on Peek has been broken on ARM64.
For .86, we've added WebView2 to Registry Preview in order to have Monaco Editor as the text editor, which is also broken on ARM64.
After a lengthy investigation, it seems we've found the core issue, PowerToys has been shipping with a x64 Microsoft.Web.WebView2.Core.dll in the ARM64 installer, which fails at runtime.
We seem to have hit a version of https://github.com/microsoft/WindowsAppSDK/issues/4826

When we build PowerToys in Dart for release, we publish some of the C# WinUI3Apps after building PowerToys and before signing / building the install. This means that the WindowsAppSDK build will recopy its WebView2 dependency, which for some reason is ARM64. On local builds of PowerToys, PowerRename, a C++ WinAppSDK application finished last, which copies the right dll and it's the reason we weren't being able to repro the issue on local builds of ARM64 PowerToys.

This PR solves the issue by including a short time hack in the CI to copy the right dll after publishing the C# WinUI3Apps when building for ARM64.

## Validation Steps Performed
Waiting for 4 concurrent builds of ARM64 from Dart to test whether the problem is solved.
2024-11-01 15:18:33 -05:00
..
loc Switch to TouchdownBuildTask v3, which supports SNI cert auth (#32721) 2024-05-03 12:28:49 -07:00
v2 [ci][Arm64]Manually copy WebView2 core dll after publishing (#35711) 2024-11-01 15:18:33 -05:00
applyXamlStyling.ps1 [ci]Fix running xaml styles in CI (#35426) 2024-10-14 08:59:10 -05:00
CIPolicy.xml Add a new YAML release pipeline to replace the old CDPx one (#15039) 2021-12-17 18:15:31 -08:00
ESRPSigning_abstracted_utils_dll.json [Hosts][EnvVar][RegPreview]improve nuget packages (#32697) 2024-05-03 15:27:13 +01:00
ESRPSigning_core.json [MouseJump][CQ]Refactor "common" classes into a separate project (#34333) 2024-10-21 17:38:07 +01:00
ESRPSigning_DSC.json [DSC] Implement Microsoft.PowerToys.Configure DSCResource & winget support (#30918) 2024-04-02 00:09:47 +01:00
ESRPSigning_installer.json [installer] Support per-user installation (#24087) 2023-03-31 12:23:57 +02:00
ESRPSigning_vcm.json [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
InstallWinAppDriver.ps1 [FancyZones]UI testing that works in CI (#29453) 2024-03-22 12:10:10 +00:00
installWiX.ps1 [Deps]Update WiX to 3.14.1 (#32082) 2024-03-26 15:37:40 +00:00
packages.config [General]Add an option for telemetry opt-in and visualization(#34078) 2024-10-24 21:04:32 +01:00
release-nuget.config [Build]Centralize .NET NuGet Package Versions (#23727) 2023-02-13 17:10:33 +00:00
tsa.json build: fix the TSA configuration (#35023) 2024-09-23 14:25:16 -05:00
verifyAndSetLatestVCToolsVersion.ps1 [ci]Point VCToolsVersion to latest VC.CRT version instead of VC.Redist version (#31212) 2024-01-31 14:58:59 +00:00
verifyArm64Configuration.ps1 [ci]Fail when a step in multiline powershell fails (#35520) 2024-10-23 08:52:47 +01:00
verifyDepsJsonLibraryVersions.ps1 [MouseJump][CQ]Refactor "common" classes into a separate project (#34333) 2024-10-21 17:38:07 +01:00
verifyNoticeMdAgainstNugetPackages.ps1 [Settings]New Landing Page Experimentation (#22365) 2023-02-15 02:38:53 +00:00
verifyNugetPackages.ps1 [ci]Fix running xaml styles in CI (#35426) 2024-10-14 08:59:10 -05:00
verifyPossibleAssetConflicts.ps1 [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
versionAndSignCheck.ps1 [ci]Fail when a step in multiline powershell fails (#35520) 2024-10-23 08:52:47 +01:00
versionSetting.ps1 [NewPlus]Set package version in CI (#35080) 2024-09-26 14:48:47 +01:00