Skip to main content
net8.0net9.0

This package provides extensions to Microsoft Testing Platform intended to extend base functionalities. This package extends Microsoft Testing Platform to deploy and launch a packaged Windows (UWP/WinUI) test host through a custom mechanism instead of starting it in place.

Published
Jul 8, 2026
3mo ago
Total Downloads
1.0K
1,007

Install

dotnet add package Microsoft.Testing.Extensions.PackagedApp --version 1.0.0-alpha.26358.12
ProductVersions
.NET
net8.0net9.0

README

Microsoft.Testing.Extensions.PackagedApp

This package is experimental and consumes the experimental ITestHostLauncher extension point of Microsoft.Testing.Platform. The API may change or be removed in a future update.

Microsoft.Testing.Extensions.PackagedApp is an extension for Microsoft.Testing.Platform that deploys a packaged Windows test host (UWP or packaged WinUI) into an isolated directory and launches it from there, instead of starting the test host in place.

It is the consumer of the platform's ITestHostLauncher extension point for packaged Windows apps. UWP and packaged WinUI ship as MSIX and share the same launch mechanism, which is why VSTest exposes a single UwpTestHostRuntimeProvider for both:

  • Deploy + launch (implemented): the app's loose layout is deployed to a deployment directory and the produced executable is launched from there.
  • Packaged AUMID activation (planned): the loose layout is registered with the PackageManager and the app is activated by Application User Model ID (AUMID) via IApplicationActivationManager — the scenario behind #2784.

Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Extensions.PackagedApp code in the microsoft/testfx GitHub repository.

Install the package

dotnet add package Microsoft.Testing.Extensions.PackagedApp

About

This package extends Microsoft.Testing.Platform with:

  • Deployment + launch: stages the packaged Windows (UWP/WinUI) test host payload into an isolated directory and launches the deployed copy.
  • Mechanism-agnostic monitoring: returns an ITestHostHandle that exposes only the lifecycle the platform needs and no local process id.

Documentation

For comprehensive documentation, see https://aka.ms/testingplatform.

Feedback & contributing

Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.

Changes from Previous Version

No structural changes between v1.0.0-alpha.26357.13 and v1.0.0-alpha.26358.12.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.