-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add sample for custom marshalling in p/invoke source generation #5315
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
Conversation
f4a112a
to
0f7f4af
Compare
0f7f4af
to
e0b0a7b
Compare
core/interop/source-generation/custom-marshalling/src/nativelib/nativelib.csproj
Show resolved
Hide resolved
core/interop/source-generation/custom-marshalling/src/custommarshalling/Program.cs
Outdated
Show resolved
Hide resolved
…rshalling/Program.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren any ideas on how to get the CI snippets build working with this? Looks like merging is blocked if that doesn't pass.
I guess it doesn't recognize For |
@adegeo Can you answer Elinor's questions about Snippets 5000? |
@elinor-fung You can force the |
I know I can set For the |
@elinor-fung We don't have a way to set the host per project, I think we should. I'll look into adding this ability |
@adegeo Should we remove the required status check and merge this for now? |
We can add the known errors to the host file, which will let this pass cleanly. I'm trying to find an example of that 😁 |
@gewarren I looked more into this and we can't bypass the missing project error. I think it's OK to remove the check and merge for now. |
Summary
Add sample for custom marshalling in p/invoke source generation
Contributes to #5125