private Assembly AssemblyResolve(object sender, ResolveEventArgs e) { string assemblyPath = masterResolver.ResolveAssemblyLocalPath(e.Name, false); if (assemblyPath == null) { return(null); } return(Assembly.LoadFrom(assemblyPath)); }