Skip to content

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Dec 5, 2024

We had this handling (of not truncating if the path is right in the root folder /) ifdef-ed under HOST_AMD64 for some reason. As a result, on other architectures we determine that the path doesn't exist and fail to load any assemblies from the root. This change simply removes the ifdef such that we have this handling on all architectures.

Fixes #109593. Manually validated in a linux arm64 container.

…lPath for all architectures instead of only amd64
Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@elinor-fung elinor-fung merged commit 49ba409 into dotnet:main Dec 5, 2024
86 of 90 checks passed
@elinor-fung elinor-fung deleted the fix109593 branch December 5, 2024 18:19
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2025
@agocke
Copy link
Member

agocke commented Sep 12, 2025

/backport to release/9.0-staging

@github-actions github-actions bot unlocked this conversation Sep 12, 2025
Copy link
Contributor

Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/17685541345

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading assemblies from root folder / fails on linux arm64 (error code 0x80070002)
3 participants