Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Fix assembly loading on windows headless (#70)
Browse files Browse the repository at this point in the history
fixes #53
  • Loading branch information
zkxs authored Aug 29, 2022
1 parent 635592b commit 133c7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NeosModLoader/AssemblyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 133c7cc

Please sign in to comment.