Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when we try to create 2 XAML containers (such as a Window & a DesktopWindowXamlSource) #4246

Closed
RaphProductions opened this issue Mar 2, 2024 · 4 comments

Comments

@RaphProductions
Copy link

Describe the bug

When we try to create 2 XAML containers (like a Window & a DesktopWindowXamlSource) in a XAML Islands app, the application freezes, then crashes.

Steps to reproduce the bug

  • 1: Create a XAML Islands WinForms app with WASDK
  • 2: Try creating multiple XAML containers (like 2 Microsoft.UI.Xaml.Window)

Expected behavior

I expected the app to work.

Screenshots

No response

NuGet package version

Windows App SDK 1.5 Preview 1: 1.5.240205001-preview1

Packaging type

Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

@DarranRowe
Copy link

When you selected 1.5 Preview 1, did you mean Preview 1. If you did, try updating to the release version of 1.5.
This report makes me think of microsoft/microsoft-ui-xaml#8806. This does look like it is fixed in 1.5.

@RaphProductions
Copy link
Author

I can't find the appropriate Windows App Runtime executable on MS's website

@DarranRowe
Copy link

Try here.

@RaphProductions
Copy link
Author

Yes, it seems like they fixed it in 1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants