From 9141b0ed191584b2433ecea7bd40073e55cfc75f Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 31 Oct 2019 21:03:19 -0500 Subject: [PATCH] tool manager - don't go looking for tools outside of the EmuHawk assembly, I suspect this will actually fix the appveyor build issue, indirectly. --- BizHawk.Client.EmuHawk/tools/ToolManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/ToolManager.cs b/BizHawk.Client.EmuHawk/tools/ToolManager.cs index 9a382d2d11..c5d78eecc0 100644 --- a/BizHawk.Client.EmuHawk/tools/ToolManager.cs +++ b/BizHawk.Client.EmuHawk/tools/ToolManager.cs @@ -740,7 +740,7 @@ namespace BizHawk.Client.EmuHawk } private static readonly Lazy> lazyAsmTypes = new Lazy>(() => - 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()