WpfSmoke 0.2.0
dotnet tool install --global WpfSmoke --version 0.2.0
dotnet new tool-manifest
dotnet tool install --local WpfSmoke --version 0.2.0
#tool dotnet:?package=WpfSmoke&version=0.2.0
nuke :add-package WpfSmoke --version 0.2.0
wpf-smoke
Build a WPF app, launch it, and return startup diagnostics as JSON. Version 0.2.0 adds saved reports, baseline comparisons, and an opt-in startup comparison from .NET Framework 4.8 to .NET 8. Try the migration fixture and quick start.
Licensed under MIT. Copyright (c) 2026 signalnotnoise.
Install
dotnet tool install --global WpfSmoke
wpf-smoke C:\code\MyApp\MyApp.csproj --seconds 5
Requires Windows, a .NET 8+ SDK, the .NET 8 runtime for the tool, and the Windows
Desktop runtime matching your application. Run from an interactive desktop.
If the command is not found after installation, reopen your terminal or use
& "$env:USERPROFILE\.dotnet\tools\wpf-smoke.exe".
To update: dotnet tool update --global WpfSmoke.
To remove: dotnet tool uninstall --global WpfSmoke.
What it checks
A passing check requires a successful build, a connected diagnostic probe, a visible loaded WPF window, and a process that survives the observation period without captured binding errors or unhandled exceptions. The tool terminates the application process tree after observation.
Stdout contains one JSON result (except --help), including raw diagnostics,
structured findings, and coverage. Exit codes are 0 for pass, 1 for build or
application failure, 2 for invalid input or incomplete verification, and 130
for cancellation. Missing probe evidence never becomes a pass.
Limits
Use trusted projects: building and launching executes real application code and MSBuild tasks. Reports can contain application output and exception details.
This checks startup, not whole-application correctness. It does not click controls, validate layout, or prove continued responsiveness. Modern .NET checks support framework-dependent .NET 8+ WPF executables. SDK-style net48 apps require the cooperative probe from the source checkout and an explicit startup call. See the probe setup.
See the repository and full options, result contract, and issue tracker.
Save a startup result with --report before.json, then compare a second build with --baseline before.json --report after.json. Each output path must be unused. For a cooperative net48 baseline and a net8.0-windows target, add --migration to the second run.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.