diff --git a/NeosModLoader/AssemblyLoader.cs b/NeosModLoader/AssemblyLoader.cs index a224a1a..a11dfb6 100644 --- a/NeosModLoader/AssemblyLoader.cs +++ b/NeosModLoader/AssemblyLoader.cs @@ -49,7 +49,7 @@ internal static class AssemblyLoader try { Logger.DebugFuncInternal(() => $"load assembly {filename}"); - assembly = Assembly.LoadFile(filepath); + assembly = Assembly.LoadFrom(filepath); } catch (Exception e) {