cppwinrt how to access ABI for Microsoft.UI.Xaml? #3479
-
I noticed if i include <windows.ui.xaml.h> I am able to access ABIs of all Windows.UI.Xaml interfaces. For Microsoft.ui.xaml, i have issues to locate the abi headers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You have to generate them using the abi tool from the metadata (.winmd) files. You can get this from the Microsoft.Windows.AbiWinRT nuget package. |
Beta Was this translation helpful? Give feedback.
-
abi -i "C:\Users\hereafter\Desktop\Microsoft.Windows.AbiWinRT.2.0.210330.2\ref" -verbose -reference sdk for anyone curious in the folder put all .winmd files nothing else. |
Beta Was this translation helpful? Give feedback.
You have to generate them using the abi tool from the metadata (.winmd) files. You can get this from the Microsoft.Windows.AbiWinRT nuget package.