Replies: 1 comment 1 reply
-
|
Is there a particular error you are getting? If so, can you share that. It would also be useful if you can provide a repro. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running into the following problem: I have authored two components in C++/WinRT with their respective projections and packed in their respective nuget. Both components are instantiated and used without issues in a C# app. That tells me that the class and its projections are working fine and activated in the consumer app. The problem is that I wasn't able to instantiate and activate component A inside any method or constructor of component B. I tried all approaches, importing the nuget, or referencing the project of the componet to be instantiated. The compiler resolves both but the linker is looking for the constructor instead of leting csWinRT activate the component. Trying to add a refrence to the component's .winmd file directly throws an invalid error.
The only work arround that works is to pass a clean instance of component A creaed in C# to a method of component B and return it modified.
Beta Was this translation helpful? Give feedback.
All reactions