Skip to content

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 requested a review from manodasanW October 4, 2021 18:13
@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

3 participants