Skip to content

Reapply "Don't use incompatible LOAD_LIBRARY_SEARCH flags when using LOAD_WITH_ALTERED_SEARCH_PATH" - #114651

Merged
elinor-fung merged 5 commits into
dotnet:mainfrom
elinor-fung:reapply-alteredSearchPath-mask
Apr 15, 2025
Merged

Reapply "Don't use incompatible LOAD_LIBRARY_SEARCH flags when using LOAD_WITH_ALTERED_SEARCH_PATH"#114651
elinor-fung merged 5 commits into
dotnet:mainfrom
elinor-fung:reapply-alteredSearchPath-mask

Conversation

@elinor-fung

@elinor-fungelinor-fung commented Apr 14, 2025

Copy link
Copy Markdown
Member

Undo the revert in #114592.

49a21cb removes setting /DEPENDENTLOADFLAG:0x800 per #111990 (comment) - fixes#114595
fc4dbe2 ignores empty paths when looking in the p/invoke assembly directory - fixes#114594
c035fdf adds a test in DllImportSearchPathsTests that uses an in-memory assembly - would have found #114594

Fixes#111825

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • src/tests/Interop/CMakeLists.txt: Language not supported
  • src/tests/Interop/DllImportSearchPaths/DllImportSearchPathsTest.csproj: Language not supported
  • src/tests/Interop/DllImportSearchPaths/NativeLibraryWithDependency/CMakeLists.txt: Language not supported

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@elinor-fung
elinor-fung merged commit a3f4cbe into dotnet:mainApr 15, 2025
@elinor-fung
elinor-fung deleted the reapply-alteredSearchPath-mask branch April 15, 2025 17:29
@elinor-fungelinor-fung added this to the 10.0.0 milestone Apr 15, 2025
@github-actionsgithub-actionsBot locked and limited conversation to collaborators May 16, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

3 participants

@elinor-fung@AaronRobinsonMSFT