tool manager - don't go looking for tools outside of the EmuHawk assembly, I suspect this will actually fix the appveyor build issue, indirectly.

This commit is contained in:
adelikat 2019-10-31 21:03:19 -05:00
parent 5f1c76b285
commit 9141b0ed19
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ namespace BizHawk.Client.EmuHawk
}
private static readonly Lazy<List<string>> lazyAsmTypes = new Lazy<List<string>>(() =>
Assembly.ReflectionOnlyLoadFrom(Assembly.GetExecutingAssembly().Location)
Assembly.GetAssembly(typeof(ToolManager)) // Confining the search to only EmuHawk, for now at least, we may want to broaden for ApiHawk one day
.GetTypes()
.Select(t => t.AssemblyQualifiedName)
.ToList()