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

[BUG] Latest preview nuget package no longer works with WinUI when updating to ProjectReunion 0.8 #1732

Closed
rick-palmsens opened this issue Jul 1, 2021 · 2 comments · Fixed by #1741

Comments

@rick-palmsens
Copy link

Description

Microsoft changed the namespace of the dispatcher queue. And now creating a SKXamlCanvas throw this exception:

image

Code

public class MyControl : SKXamlCanvas
{
}

Basic Information

  • Version with issue: 2.88.0-preview.46
@beto-rodriguez
Copy link
Contributor

It seems that the package is not ready for ProjectReunion 0.8, just create a new WinUI project add a SKXamlCanvas and it will throw:

Microsoft.UI.Xaml.Markup.XamlParseException: 'XAML parsing failed.'

at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IApplicationStatics.global::Microsoft.UI.Xaml.IApplicationStatics.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
at App4.MainWindow.InitializeComponent() in C:\Users\Beto rodriguez\source\repos\App4\App4\App4\obj\x86\Debug\net5.0-windows10.0.19041.0\MainWindow.g.i.cs:line 37
at App4.MainWindow..ctor() in C:\Users\Beto rodriguez\source\repos\App4\App4\App4\MainWindow.xaml.cs:line 28

I have tried with versions 2.80.3-preview.93 and 2.80.3-preview.90 the result is the same.

@mattleibow mattleibow mentioned this issue Jul 9, 2021
4 tasks
@mattleibow
Copy link
Contributor

This should be fixed when #1741 is merged.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants