Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

Instead of relying on a native project use DNNE to generate
native exports for managed binaries. This allows us to avoid
writing native code for testing code generation.
@AaronRobinsonMSFT AaronRobinsonMSFT added the area-DllImportGenerator Source Generated stubs for P/Invokes in C# label Sep 25, 2020
Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits on the infra side of this PR.

I love how simple this is. It's going to be a breath of fresh air using this type of infra for marshalling testing.

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 415c6ca into dotnet:DllImportGenerator Sep 26, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the consume_dnne_for_testing branch September 26, 2020 00:39
jkoritzinsky pushed a commit to jkoritzinsky/runtime that referenced this pull request Sep 20, 2021
* Use DNNE to create native testing assets

Instead of relying on a native project use DNNE to generate
native exports for managed binaries. This allows us to avoid
writing native code for testing code generation.

* Add *.binlog to .gitignore

* Force 'UseAppHost' to fix scenario on macOS.

* Consume support in DNNE for adding native binary to project.


Commit migrated from dotnet/runtimelab@415c6ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-DllImportGenerator Source Generated stubs for P/Invokes in C#

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants