Skip to content

Conversation

AaronRobinsonMSFT
Copy link
Member

Summary

Documentation for PInvoke probe algorithm. The documentation here represents only the guarantees for the probing. There are other niche scenarios that may change over time and thus is not exhaustive. It also only documents the runtime algorithm and does not dictate further logic applied by the underlying platform.

See LoadNativeLibraryBySearch().

Fixes dotnet/runtime#4596

/cc @dotnet/interop-contrib

@AaronRobinsonMSFT
Copy link
Member Author

/cc @gewarren

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren gewarren merged commit 62be183 into dotnet:main Mar 18, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the doc_pinvoke_probe_algorithm branch March 18, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document DllImport probing
5 participants