Replies: 1 comment
-
|
You should try cleaning the project cache, because the generation of ixx files occurs in the early stage of the build. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a C++ dll project which provide the context menu to Windows which do not have the
.idlfile because it's not a.winmdproject.I introduce the CppWinRT because I need to access the MSIX resource using WinRT API, for example, access the locale string through
Windows.ApplicationModel.ResourcesIn CppWinRT 2.0, it works fine. I include the header in
pch.hand use them as expected. However, once switch to CppWinRT 3.0, I could never get it works because seems thatimport winrt.Windows.ApplicationModelis not working because CppWinRT would not generate the*.ixxfiles for me.I have already config the project properly as the guidance
To implement the context menu, my project looks like this
Could anyone tell me how to migrate to CppWinRT 3.0 ?
Beta Was this translation helpful? Give feedback.
All reactions