microsoft / microsoft/WindowsAppSDK-Samples
Windowing/cpp-winui sample app crashing on launch
Open
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 335
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 8
Description
It builds just fine but crashes with this message on launch. Other samples like cs-winui work just fine.

arch : debug x64
os : windows 11
winappsdk runtime verison : latest 1.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in the Windowing/cpp-winui sample app using the reported Debug x64, Windows 11, and Windows App SDK 1.2-latest setup, then inspect the launch failure shown in the attached image. Done means the sample builds and launches without crashing under the reported configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100