Using Windows Runtime Component in WPF

  • Thread starter Thread starter Dhruvesh
  • Start date Start date
D

Dhruvesh

Guest
Hi,

I'm trying to create Registration-Free Windows Runtime Component and use it's Classes/Xaml in WPF application.



Reference: Enhancing Non-packaged Desktop Apps using Windows Runtime Components - Windows Developer Blog


Project Template: C++/WinRT - Visual Studio Marketplace.


Sample application: microsoft/RegFree_WinRT creates the WinRT component and uses WinRT class in WinForms application.

To test the same in WPF, added WPF (.Net Framework) project in microsoft/RegFree_WinRT sample app and getting following error while creating instance of WinRT Class as below:

1522773.png



what needs to be changed in WPF project to use WinRT component?

Thanks.

Continue reading...
 
Back
Top