build-run-and-launch-verification

Use this file when the task involves building, running, launch failures, startup crashes, or final verification that a WinUI app actually opens on the current machine.

What This Reference Is For

Use this file when the task involves building, running, launch failures, startup crashes, or final verification that a WinUI app actually opens on the current machine.

Required Workflow

  1. Identify the real build target:
  1. Build after each meaningful code edit and again at task completion.
  2. Run the app after changes when feasible. Always do it when the user asked for it or when startup, navigation, resources, or packaging changed.
  3. Use the launch path that matches the deployment model:
  1. Verify real launch with objective evidence such as:
  1. After completing app work, including a first scaffold or a later build-and-fix cycle, leave a successfully verified final app instance running so the user can see that it worked unless they explicitly asked you not to.
  2. If launch fails or verification is ambiguous, debug the failure before saying the app is ready.

Packaged vs Unpackaged Rules

Build and Launch Guidance

Debugging Startup Failures

Exit Criteria