Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4-incubating
-
None
Description
When the project importer reviews references, it uses AppDomain.CurrentDomain.ReflectionOnlyAssemblies() to look at existing loaded assemblies and tries to match the assembly by short name. If not found it loads the DLL for reflection. This means once one version of an assembly is loaded, not different versions will later be loaded.
Reflection loading in this case is unnecessary as AssemblyName.GetAssemblyName() contains all the information needed to construct the reference information without loading the assembly.