public override Assembly LoadAssembly(AssemblyName assemblyName)
 {
     try
     {
         return(_defaultContext.Load(assemblyName));
     }
     catch (FileNotFoundException)
     {
         return(_projectAssemblyLoader.Load(assemblyName, this) ??
                _nugetAssemblyLoader.Load(assemblyName, this));
     }
 }
Example #2
0
 public Assembly LoadWithoutDefault(AssemblyName assemblyName)
 {
     return(_projectAssemblyLoader.Load(assemblyName, this) ??
            _packageAssemblyLoader.Load(assemblyName, this));
 }