-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge multiple CsWinRT components together to reduce package size #1914
Comments
There are a couple options. You should be able to do option 1, I am curious what error you got. But you can make use of the |
@manodasanW I created a sample app here, with option 1 + Another question is, how can I consume
What is the right way to consume |
Now I tried adding
to the C++ project commit. IT generates |
I am migrating a MFC C++ app to C#. I need to migrate several C++ components.
I follow https://github.com/MichalStrehovsky/CppPublishAotReference to enable AOT.
It works well for the first component.
If I do same thing for the 2nd component, there will be two component dlls. Both of them contains the DotNet runtime code.
How can I merge the components into one dll, so that they can share the runtime code and reduce the package size?
I've tried solutions:
The text was updated successfully, but these errors were encountered: