Skip to content

Conversation

@j0shuams
Copy link
Contributor

@j0shuams j0shuams commented Oct 5, 2021

For embedded support, our C#/WinRT NuPkg will now contain the sources of WinRT.Runtime, and a .targets file that includes these sources in any consuming project that has CsWinRTEmbedded set to true.

For testing, I've added a solution containing some native WinRT components, an embedded library, and managed apps.
The app depends on the library, and the library depends on the components. This both shows how to use the new embedded support. And also tests passing WinRT objects back and forth across the API.

A unit test project that does the same things as the apps is included, along with a modified build.cmd to automate running the unit tests. (Note this requires building the embedded sample.)

@j0shuams j0shuams requested a review from manodasanW October 5, 2021 22:22
@j0shuams
Copy link
Contributor Author

j0shuams commented Nov 9, 2021

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

Co-authored-by: angelazhangmsft <angzhang@microsoft.com>
@j0shuams
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@j0shuams j0shuams merged commit d568019 into master Nov 12, 2021
@j0shuams j0shuams deleted the jlarkin/embed-3 branch November 12, 2021 18:59
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

4 participants