You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement packaged (MSIX) app registration and AUMID activation in Microsoft.Testing.Extensions.PackagedApp #9933
Microsoft.Testing.Extensions.PackagedApp provides an ITestHostLauncher for Windows test hosts. Today it can deploy and launch a non-packaged (loose-layout) host via CopyDirectory + Process.Start. A genuinely packaged (MSIX) layout — detected by the presence of an AppxManifest.xml — cannot be started with Process.Start, so the launcher currently fails fast with an actionable error (including the computed AUMID).
This issue tracks implementing the actual packaged-app launch path in this standalone MTP extension. Note this is distinct from #2784, which is about testing unpackaged WinUI applications; that scenario is not the same as launching a packaged MSIX host from the standalone extension without Visual Studio-internal deployment components.
Work
Register the loose layout with the PackageManager (RegisterPackageByUriAsync).
Activate the app by Application User Model ID (AUMID) via IApplicationActivationManager.ActivateApplication (the AUMID is already computed by AppxManifestInfo).
Provide the AppContainer connect-back transport: the platform passes the controller IPC pipe name via an environment variable, which an activated packaged process does not inherit, so an alternative hand-off is needed.
Notes
VSTest gets loose-layout registration and AUMID activation from Visual-Studio-internal deployment components (IVsAppContainerProjectDeploy2, IDeploymentServicesProvider.GetAppLauncher()) that are not redistributable, so this extension must implement an equivalent using public, redistributable APIs.
Activity
Address second review pass: BOM, honest descriptions, correct trackin…
Correct public XML docs on packaged-app registration hooks
Address PR review feedback for packaged (MSIX) launch (#9933)
Fix CI cross-OS build and address second review round (#9933)
Implement packaged (MSIX) registration and AUMID activation in Micros…