-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/6.0-staging][native-library] If a dllimport is specified with an absolute path, look for it first #85271
[release/6.0-staging][native-library] If a dllimport is specified with an absolute path, look for it first #85271
Conversation
…ook for it first The unmanaged native library probing documentation says to try absolute paths without variations https://learn.microsoft.com/en-us/dotnet/core/dependency-loading/default-probing#unmanaged-native-library-probing Manual backport of dotnet#85255 to net6
Tagging subscribers to this area: Issue DetailsThe unmanaged native library probing documentation says to try absolute paths without variations Manual backport of #85255 to net6
|
Tagging subscribers to this area: Issue DetailsBackport of #85255 to release/7.0-staging /cc @lambdageek Customer ImpactFixes application crashes on MacCatalyst. TestingManual testing RiskLow. This reverts to the behavior before 5a1baeb for DllImports with an absolute path. IMPORTANT: If this backport is for a servicing release, please verify that:
The unmanaged native library probing documentation says to try absolute paths without variations Manual backport of #85255 to net6
|
Backport of #85255 to release/7.0-staging
/cc @lambdageek
Customer Impact
Fixes application crashes on MacCatalyst in apps that use system frameworks such as SceneKit.
Testing
Manual testing
Risk
Low. This reverts to the behavior before 5a1baeb for DllImports with an absolute path.
IMPORTANT: If this backport is for a servicing release, please verify that:
The PR target branch is
release/X.0-staging
, notrelease/X.0
.If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.
The unmanaged native library probing documentation says to try absolute paths without variations
https://learn.microsoft.com/en-us/dotnet/core/dependency-loading/default-probing#unmanaged-native-library-probing
Manual backport of #85255 to net6