Ability to simply add a reference to a project/winmd #1072
Unanswered
JaiganeshKumaran
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@JaiganeshKumaran - we recently added support for embedding WinRT types into your app or library with C#/WinRT. You can try out the feature and compile the interop code with your app. Here are samples for this scenario as well: https://github.com/microsoft/CsWinRT/tree/master/src/Samples/TestEmbedded It would be great to get feedback on this and if it helps with your scenario. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today adding a project/winmd reference even if C#/WinRT is installed doesn't work. The documentation tells to create an interop assembly using C#/WinRT, package into a .nupkg and reference that instead but it seems complicated and I just want to reference a project/winmd directly. C#/WinRT should automatically generate the required interop code in the consuming project just like C++/WinRT and shouldn't require extra from the component development.
Beta Was this translation helpful? Give feedback.
All reactions