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

Clarify that NativeLibrary can be used for transitive dependencies #42815

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sweemer
Copy link

@sweemer sweemer commented Oct 3, 2024

I have added the following two clarifications:

  1. NativeLibrary can be used more than once. Originally I thought that it can only be used for the library specified in DirectPInvoke, but after some time I realized it can be used for transitive dependencies as well. My change makes this more clear.
  2. Added /path/to to make it clear that paths are accepted and that the file does not need to be manually moved to the project output directory in order to be found.

Internal previews

📄 File 🔗 Preview link
docs/core/deploying/native-aot/interop.md docs/core/deploying/native-aot/interop

@sweemer sweemer requested review from adegeo and a team as code owners October 3, 2024 09:32
@dotnetrepoman dotnetrepoman bot added this to the October 2024 milestone Oct 3, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant