question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WinUI3 apps not running on Windows Insider build 21292.1000

See original GitHub issue

Describe the bug

WinUI3 apps do not run on the latest Windows Insider build (21292.1000)

  • Running the app once installed closes immediately it with no prompt
  • Running app under debug in VS16.9preview2.0 closes the app and causes VS to restart
  • Running app under debug in VS16.8.2 & VS16.8.4 give me this error:

Unhandled exception at 0x7559581E (combase.dll) in App219.exe: 0xC0000602: A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Create a new blank app from the templates
  2. Try and debug the created app from Visual Studio
  3. See crash/restart of VS

Expected behavior

Apps should be able to run

Screenshots

Version Info

NuGet package version: Microsoft.WinUI 3.0.0-preview3.201113.0

Windows app type:

UWP Win32
Yes Yes
Windows 10 version Saw the problem?
Insider Build (21292.1000) Yes
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:20 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
anawishnoffcommented, Jan 28, 2021

This bug has been fixed, and the fix will be available in our next release - WinUI 3 Preview 4. We’re hoping to ship this preview release in early February. Thanks!

4reactions
codendonecommented, Jan 26, 2021

The short summary of the cause is that the UDK library failed to properly call through to the OS dll when it should have, which resulted in it not accounting for OS changes on recent insider builds. An automated test was unfortunately missing for this, and a test was added with the fix.

FYI, we are planning to ship a Preview 4 in early-mid Feb., which will include the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Windows Insider Program
Running into an issue on Windows Insider Preview Builds? This section can help you with some common problems.
Read more >
Your windows insider build ran into problem
I've tried everything updating every driver manually sfc scannow dsim disk optimization and diagnostics. I'm a very new insider.
Read more >
Create a WinUI 3 app using Preview and Experimental ...
This guide shows you how to use the Preview and Experimental channel of Windows App SDK to create a .NET and C++ apps...
Read more >
Windows 10 Build 21292.1000 RS_PRERELEASE ...
New update Windows 10 Build 21292.1000 RS_PRERELEASE released with improvements and features for News and interests and fixes for awaited issues.
Read more >
Create your first WinUI 3 (Windows App SDK) project
Build and run your solution on your development computer to confirm that the app runs without errors. Unpackaged: Create a new project for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found