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

[Bug] AssemblyLoader should use absolute assembly path when loading assemblies #570

Merged
merged 4 commits into from
Jun 27, 2020

Conversation

suhsteve
Copy link
Member

@suhsteve suhsteve commented Jun 27, 2020

AssemblyLoader.ResolveAssembly uses AssemblySearchPathResolver.GetAssemblySearchPaths to build paths when checking for assemblies. An assembly was found to exist within one of the built paths, but this was a relative path. When resolving dotnet core assemblies, AssemblyLoader.ResolveAssembly uses AssemblyLoadContext.Default.LoadFromAssemblyPath and this requires an absolute assembly path.

@imback82
Copy link
Contributor

Can you update the description please?

@imback82 imback82 added the bug Something isn't working label Jun 27, 2020
Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @suhsteve!

@imback82 imback82 changed the title [Bug] AssemblyLoader use absolute assembly path when loading assemblies [Bug] AssemblyLoader should use absolute assembly path when loading assemblies Jun 27, 2020
@imback82 imback82 mentioned this pull request Jun 27, 2020
@imback82 imback82 merged commit 886cec0 into dotnet:master Jun 27, 2020
@suhsteve suhsteve deleted the stsuh/assemblyloaderfix branch September 6, 2020 05:52
@suhsteve suhsteve added fixing bug Fixing a bug and removed bug Something isn't working labels Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixing bug Fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants