(the forum for WinUI 3 is https://learn.microsoft.com/en-us/answers/tags/184/windows-app-sdk)
You can use CsWinRT (add Nuget Package) (tested on Windows 10 22H2)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi MSFT team,
I am trying to consuming a winrt/C++ library (xxx.dll, xxx.winmd) in my application created by VS2022.
Since I must use WinUI3 App, so Could you please help on how to consume a winrt/c++ lib in WinUI3 Application?
(the forum for WinUI 3 is https://learn.microsoft.com/en-us/answers/tags/184/windows-app-sdk)
You can use CsWinRT (add Nuget Package) (tested on Windows 10 22H2)
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more