Open andrewpitts15 opened 4 years ago
Same problem here. It's trying to construct the SampleLibraryCS run component and that is exactly the type of component I want to use. In the debugger call stack:
MyApp.dll!winrt::impl::factory_cache_entry<winrt::SampleLibraryCS::SampleLibraryCS_XamlTypeInfo::XamlMetaDataProvider,winrt::Windows::Foundation::IActivationFactory>::call<winrt::SampleLibraryCS::SampleLibraryCS_XamlTypeInfo::XamlMetaDataProvider (__cdecl)(winrt::Windows::Foundation::IActivationFactory const &)>(winrt::SampleLibraryCS::SampleLibraryCS_XamlTypeInfo::XamlMetaDataProvider()(const winrt::Windows::Foundation::IActivationFactory &) && callback) Line 6082 C++
Same problem here. If even the samples are not working...it seems not very reliable.
I can confirm this issue. It would be nice to know if these Xaml Islands Samples are being maintained or not. If they aren't they should probably be removed from the Windows Developer Docs.
Adding @ocalvo, @asklar, and @kmelmon for awareness.
I'm having this exact same issue in VS2022, everything seems to build just fine, but I get these exceptions, is this just a bug in the example code? or does XAML islands just not work?
When I tried to build and run MFCXamlIslands.sln, it throws an exception.
Windows 10 1909 (OS Build 18363.778) Visual Studio 2019 16.6.0