/// <summary> /// Loads and resolves the assembly using non-standard reference paths. /// </summary> /// <param name="assemblyFullPath">The assembly full path.</param> /// <param name="referencePaths">The reference paths.</param> /// <returns>Loaded assembly.</returns> public static Assembly LoadAssembly(string assemblyFullPath, params string[] referencePaths) { return(new Resolver(assemblyFullPath, referencePaths.Select(c => IOHelpers.GetFullPath(c)).ToArray()).LoadAssembly()); }