Answered by:
Using Windows Runtime Component in WPF

Question
-
Hi,
I'm trying to create Registration-Free Windows Runtime Component and use it's Classes/Xaml in WPF application.
Project Template: https://marketplace.visualstudio.com/items?itemName=CppWinRTTeam.cppwinrt101804264.
Sample application: https://github.com/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 https://github.com/microsoft/RegFree_WinRT sample app and getting following error while creating instance of WinRT Class as below:
what needs to be changed in WPF project to use WinRT component?
Thanks.
- Edited by Dhruvesh Monday, December 30, 2019 10:35 PM
- Moved by Jeanine ZhangMicrosoft contingent staff Tuesday, December 31, 2019 8:44 AM
Monday, December 30, 2019 10:33 PM
Answers
-
Might try asking for help over here.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=wpf
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Tuesday, December 31, 2019 2:17 PM
- Marked as answer by Dhruvesh Tuesday, December 31, 2019 7:29 PM
Tuesday, December 31, 2019 1:43 PM
All replies
-
Hello,
Thank you for posting here.
Since this thread is not related to Visual C++, I will move it to Where is the Forum For…? forum to redirect it to the correct forum.
Best Regards,
Suarez Zhou
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Edited by Suarez-ZhouMicrosoft contingent staff Tuesday, December 31, 2019 8:43 AM
Tuesday, December 31, 2019 8:43 AM -
Might try asking for help over here.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=wpf
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Tuesday, December 31, 2019 2:17 PM
- Marked as answer by Dhruvesh Tuesday, December 31, 2019 7:29 PM
Tuesday, December 31, 2019 1:43 PM