Un-delete ReflectionOnlyAssemblyResolve subscriber
This commit is contained in:
parent
c6dff68981
commit
7d780d1954
|
@ -77,6 +77,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
// for Unix, skip everything else and just wire up the event handler
|
||||
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
|
||||
}
|
||||
|
||||
// Assembly.ReflectionOnlyLoadFrom doesn't automatically load deps, this stops it from throwing when called
|
||||
AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += (sender, args) => Assembly.ReflectionOnlyLoad(args.Name);
|
||||
}
|
||||
|
||||
[STAThread]
|
||||
|
|
Loading…
Reference in New Issue