wpf-desktoplisted
Install: claude install-skill rockbenben/aishort-skills
# WPF Desktop Apps
A selection-and-pitfalls checklist for tray-resident WPF utilities. Selections track current official releases and docs — **verify versions before use** (rule 1 below). The pitfalls are field-tested, each with the measurement that exposed it.
**Language:** this page is English, the four reference files it points to are Chinese.
That is where the actual content lives — the symptom write-ups, the code and its
comments — so a reader who does not read Chinese gets the index and not the substance.
The lookup keys are the Chinese section headings, quoted here in 「」, so an agent can
route to the right file either way.
## When to use
- Building or reworking a WPF app: picking dependencies, publish profiles, CI self-checks (smoke / screenshots)
- Chasing WPF-specific symptoms: white flash on open, window not coming to front, DPI math wrong on a second monitor, controls crushed by long translations, slow startup
- Publishing a single-file exe (self-contained / framework-dependent)
**Not for**: desktop-packaging a web stack (that's `nextjs-to-tauri` / `nextjs-to-electron`), WinUI 3, MAUI.
## Three iron rules
Break any of these and the symptom shows up long after the change, with nothing pointing back at the cause.
**1. Verify version numbers first; never trust the ones in a template.** Package versions drift, and numbers written into docs are stale by definition:
```bash
dotnet nuget list source # confirm the feed
gh api repos