marb2000 / XamlIslands

Repository with several XAML Islands v1 samples (Win32, WPF, and WinForms) to demonstrate how to use it.
MIT License
47 stars 18 forks source link

Class not registered error #4

Closed MihaiUdrea closed 5 years ago

MihaiUdrea commented 5 years ago

When creating the app object

winrt::MyApp::App app;

I get the error:

Exception thrown at 0x00007FF9CA2C9129 (KernelBase.dll) in SampleCppApp.exe: WinRT originate error - 0x80040154 : 'Class not registered'.

marb2000 commented 5 years ago

This is about the sample CppWin32App_With_Island right. What build and SDK are you using? Xaml Islands is supported with the Windows 10 1903 build, and the SDK 18362.

MihaiUdrea commented 5 years ago

My machine was Win10 1809. Thank you for clarifications.