Skip to content
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

Embedded sources: WinRT.Runtime #1008

Merged
merged 12 commits into from
Oct 29, 2021
Merged

Embedded sources: WinRT.Runtime #1008

merged 12 commits into from
Oct 29, 2021

Conversation

j0shuams
Copy link
Contributor

@j0shuams j0shuams commented Oct 4, 2021

This adds logic to change the WinRT.Runtime sources to work as an embeddable module. This is the first part of adding Embedded support.

There are two changes included here, spread across multiple files.

Changing !NETSTANDARD2_0 to NET (or NETSTANDARD2_0 to !NET). This is required for enabling cross-targeting. A netcoreapp3.1 app trying to use embedded sources will be blocked by [!]NETSTANDARD2_0.

Adding a option to each public type to be internal if the EMBED constant is defined.

Note that the EMBED constant will never be defined (it is coming in a later PR), so these changes are inert.

@j0shuams j0shuams changed the title Embed WinRT.Runtime sources Embedded sources: WinRT.Runtime Oct 4, 2021
@j0shuams j0shuams linked an issue Oct 27, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a fully embedded WinRT interop option
2 participants