Open steam3d opened 1 year ago
Try disabling the Xaml In App Toolbar. I remember there being a problem with this toolbar that can cause crashes.
@DarranRowe it is disabled, but I only have xml
I also tired disable this
If you haven't changed any settings, then your video shows that it is enabled. It is that little tool bar that shows up by default at the top of your application window's Xaml content. This shows in your video while you are showing the application works with 1.2.
To disable this, you need to open the Live Visual Tree tool window in Visual Studio while your Xaml application is running and disable the tool bar there.
This tool window only shows up while an application with a Xaml host is running.
@DarranRowe Yes. When this option is turned off everything fine. When I enable it the app immediately crashes
Describe the bug
Visual Studio 2022 17.7 shows "Unhandled exception Win32" when I run debuging the MultiWindowError project that creates two window after update Microsoft.WindowsAppSDk from
1.2.230217.4
to1.4.230913002
.Using "Try catch" on
OnLaunched
does not cath any error as well asUnhandledException
. The MultiWindowError works correctly when I run it without debuggingI could not able to check Win32 exception, because Visual Studio stucks when I try to detach current debagger and attach another one. I also found hard fix. When I adding a delay between creating windows 200ms and more, the application debug run without exception.
Steps to reproduce the bug
Expected behavior
Application will be debugging without exception how it was on Microsoft.WindowsAppSDk from
1.2.230217.4
Screenshots
https://github.com/microsoft/WindowsAppSDK/assets/30986874/1053dd66-8a4c-4c45-8657-6578be6361c7
NuGet package version
Windows App SDK 1.4.1: 1.4.230913002
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response