-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
XamlReader.Load Failures #3206
Comments
What is your |
The BaseUri property here is, pack://urn:x-websupergoo:xpspackage:f008dc38-9134-4dbd-8f3a-1d9c0b35b60c.xps/ This matches a previous call to, PackageStore.AddPackage(PackageUri, _package); Using a PackageUri of, urn:x-websupergoo:xpspackage:f008dc38-9134-4dbd-8f3a-1d9c0b35b60c.xps |
Do you need more from me? |
This is not the same cause as #6842. This crash can very likely be fixed by disposing wpf/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ColorContext.cs Lines 560 to 561 in c8742b5
The bug is that |
@bgrainger good catch, do you want to make a PR? |
I could, but I don't have a self-contained repro of the problem to verify the fix. |
I'm seeing issues with XamlReader.Load. They come via WPF but it may be that the root problem is actually in System.IO.Compression.
This is code that works in .NET 4.X but fails in .NET 5 Preview 5 & 6.
My code is much like this:
The exception that is thrown is XamlParseException but the inner exception is from System.IO.Compression,
Does this look like a known issue or does it need more detail?
Jos
The text was updated successfully, but these errors were encountered: