This commit is contained in:
vis2k 2018-12-31 00:12:47 +01:00
parent b88eaf527c
commit ac2361611b

View File

@ -112,7 +112,7 @@ public static ReaderParameters ReaderParameters(string assemblyPath, IEnumerable
assemblyResolver = new DefaultAssemblyResolver(); assemblyResolver = new DefaultAssemblyResolver();
var helper = new AddSearchDirectoryHelper(assemblyResolver); var helper = new AddSearchDirectoryHelper(assemblyResolver);
helper.AddSearchDirectory(Path.GetDirectoryName(assemblyPath)); helper.AddSearchDirectory(Path.GetDirectoryName(assemblyPath));
helper.AddSearchDirectory(Helpers.UnityEngineDLLDirectoryName()); helper.AddSearchDirectory(UnityEngineDLLDirectoryName());
helper.AddSearchDirectory(Path.GetDirectoryName(unityEngineDLLPath)); helper.AddSearchDirectory(Path.GetDirectoryName(unityEngineDLLPath));
helper.AddSearchDirectory(Path.GetDirectoryName(unityUNetDLLPath)); helper.AddSearchDirectory(Path.GetDirectoryName(unityUNetDLLPath));
if (extraPaths != null) if (extraPaths != null)