You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
I get this exception thrown when I try to create an instance of Microsoft.Toolkit.Forms.UI.XamlHost
System.Exception
HResult=0x8000FFFF
Message=Catastrophic failure
WindowsXamlManager and DesktopWindowXamlSource are supported for apps targeting Windows version 10.0.18226.0 and later. Please check either the application manifest or package manifest and ensure the MaxTestedVersion property is updated.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
Steps to Reproduce
Steps to reproduce the behavior:
Create a new .NET Core 3.1 Forms App
Install packages
Create a private Microsoft.Toolkit.Forms.UI.XamlHost.WindowsXamlHost xamlHost;
Add this.xamlHost = new Microsoft.Toolkit.Forms.UI.XamlHost.WindowsXamlHost(); to InitializeComponents()
run
Expected behavior
Shouldn't crash
Environment
NuGet Package(s):
Package Version(s):
![image](https://user-images.githubusercontent.com/6604878/109241639-f495d200-77d9-11eb-90ec-c1713d6ca0ec.png)
Project .NET Version:
- [X] .NET Core 3.1
Windows 10 Build Number:
- [X] 20H2 Update (19042.844)
App min and target version:
- [X] May 2019 Update (18362)
Device form factor:
- [X] Surface Pro 7
Visual Studio
- [X] 2019 (version: 16.8.6)
- [X] 2019 Preview (version: 16.9.0 Preview 5.0)
The text was updated successfully, but these errors were encountered:
Hello ScruffR, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the bug
I get this exception thrown when I try to create an instance of
Microsoft.Toolkit.Forms.UI.XamlHost
Steps to Reproduce
Steps to reproduce the behavior:
private Microsoft.Toolkit.Forms.UI.XamlHost.WindowsXamlHost xamlHost;
this.xamlHost = new Microsoft.Toolkit.Forms.UI.XamlHost.WindowsXamlHost();
toInitializeComponents()
Expected behavior
Shouldn't crash
Environment
The text was updated successfully, but these errors were encountered: