Merge pull request #955 from ivandrofly/assembly

Prefer Assembly LoadFile to load Plugins
This commit is contained in:
Nikolaj Olsson 2015-06-29 06:11:28 +02:00
commit b422c96d14

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
{