mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
UnityEngineDLLDirectoryName -> UnityEngineDllDirectoryName
This commit is contained in:
parent
e83daa8c5c
commit
f74abc8f86
@ -10,7 +10,7 @@ class Helpers
|
||||
{
|
||||
// This code is taken from SerializationWeaver
|
||||
|
||||
public static string UnityEngineDLLDirectoryName()
|
||||
public static string UnityEngineDllDirectoryName()
|
||||
{
|
||||
string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase);
|
||||
return directoryName?.Replace(@"file:\", "");
|
||||
|
@ -467,7 +467,7 @@ static bool Weave(string assName, IEnumerable<string> dependencies, string unity
|
||||
using (CurrentAssembly = AssemblyDefinition.ReadAssembly(assName, new ReaderParameters { ReadWrite = true, ReadSymbols = true, AssemblyResolver = asmResolver }))
|
||||
{
|
||||
asmResolver.AddSearchDirectory(Path.GetDirectoryName(assName));
|
||||
asmResolver.AddSearchDirectory(Helpers.UnityEngineDLLDirectoryName());
|
||||
asmResolver.AddSearchDirectory(Helpers.UnityEngineDllDirectoryName());
|
||||
asmResolver.AddSearchDirectory(Path.GetDirectoryName(unityEngineDLLPath));
|
||||
asmResolver.AddSearchDirectory(Path.GetDirectoryName(mirrorNetDLLPath));
|
||||
if (dependencies != null)
|
||||
|
Loading…
Reference in New Issue
Block a user