-
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
Suspicious AppBaseCompilationAssemblyResolver behaviour #1047
Comments
Any news on this? |
My understanding of the logic is that the method returns Lines 109 to 125 in 4f9ae42
Lines 47 to 56 in 4f9ae42
If you want/need to handle this situation separately, I would advise injecting your own resolver to the beginning of the list when invoking |
Note that if the resolvers didn’t have this behavior, an exception would be thrown any time this situation occurred. runtime/src/installer/managed/Microsoft.Extensions.DependencyModel/CompilationLibrary.cs Line 82 in 4f9ae42
|
Understood thank you @eerhardt! |
On coverlet there are some scenario where we need to manually search asm to pass to Cecil during instrumentation.
During some user issue analisys we found a strange behaviour for
AppBaseCompilationAssemblyResolver
that lead to a resolution issue.This is the point coverlet-coverage/coverlet#655 (comment)
runtime/src/installer/managed/Microsoft.Extensions.DependencyModel/Resolution/AppBaseCompilationAssemblyResolver.cs
Lines 91 to 114 in 639122a
Is it correct that in case of empty
Assemblies
resolver returntrue
but actually without add any path to assemblies list?cc: @jhartmann123
The text was updated successfully, but these errors were encountered: