WpfSmoke 0.2.0

dotnet tool install --global WpfSmoke --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local WpfSmoke --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.0 0 11/29/2026
0.1.0 54 11/25/2026