microsoft / microsoft/WindowsAppSDK-Samples

Windowing/cpp-winui sample app crashing on launch

Open
#270 0 comments 1 reaction 0 assignees View on GitHub

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.

image

arch : debug x64
os : windows 11
winappsdk runtime verison : latest 1.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.