Prefer Assembly LoadFile to load Plugins

This commit is contained in:
ivandroly 2015-06-28 18:58:50 +00:00
parent 385503cc3d
commit 73117cb928

View File

@ -14238,7 +14238,7 @@ namespace Nikse.SubtitleEdit.Forms
System.Reflection.Assembly assembly;
try
{
assembly = System.Reflection.Assembly.Load(File.ReadAllBytes(pluginFileName));
assembly = System.Reflection.Assembly.LoadFile(pluginFileName);
}
catch
{