From 5ea54d8d017ee0644f03ab91ddab37e0d42f6109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Mon, 13 Jul 2026 21:57:25 +0200 Subject: [PATCH] Revert WinUI sample PackagedApp reference until packaged-app launch is supported The Microsoft.Testing.Extensions.PackagedApp launcher only supports launching a loose-layout copy via Process.Start today; it cannot launch the packaged (MSIX) WinUI sample. Referencing the package auto-registered its ITestHostLauncher, forcing the platform's deploy-and-launch path (registering a launcher sets requireProcessRestart=true), so PR #9908 made the sample runtime-broken. Revert the reference until AUMID activation (#2784) lands, restoring the sample's working in-process state. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c5c7d634-e822-4475-9312-a9dde92753f6 --- samples/public/Directory.Build.props | 6 ------ .../MSTestRunnerWinUI/MSTestRunnerWinUI.csproj | 7 ------- .../MSTestRunnerWinUI/UnitTestApp.xaml.cs | 5 ----- 3 files changed, 18 deletions(-) diff --git a/samples/public/Directory.Build.props b/samples/public/Directory.Build.props index eb17b3a68d..b32ba04ff3 100644 --- a/samples/public/Directory.Build.props +++ b/samples/public/Directory.Build.props @@ -19,12 +19,6 @@ $(MSTestAOTVersion) 1.61.0 2.3.2 - - 1.0.0-alpha.26363.8 18.7.0 false $(NoWarn);SA0001;EnableGenerateDocumentationFile diff --git a/samples/public/mstest-runner/MSTestRunnerWinUI/MSTestRunnerWinUI/MSTestRunnerWinUI.csproj b/samples/public/mstest-runner/MSTestRunnerWinUI/MSTestRunnerWinUI/MSTestRunnerWinUI.csproj index a578462ebb..b881234983 100644 --- a/samples/public/mstest-runner/MSTestRunnerWinUI/MSTestRunnerWinUI/MSTestRunnerWinUI.csproj +++ b/samples/public/mstest-runner/MSTestRunnerWinUI/MSTestRunnerWinUI/MSTestRunnerWinUI.csproj @@ -53,13 +53,6 @@ - -