Skip to content

Commit

Permalink
Update src/neo/Plugins/Plugin.cs
Browse files Browse the repository at this point in the history
Co-Authored-By: Shargon <shargon@gmail.com>
  • Loading branch information
erikzhang and shargon committed Dec 2, 2019
1 parent 24ddfd6 commit 6feb0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Plugins/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEven

try
{
return Assembly.LoadFrom(filename);
return Assembly.Load(File.ReadAllBytes(filename));
}
catch (Exception ex)
{
Expand Down

0 comments on commit 6feb0c0

Please sign in to comment.