mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 19:52:48 +01:00
Merge pull request #955 from ivandrofly/assembly
Prefer Assembly LoadFile to load Plugins
This commit is contained in:
commit
b422c96d14
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user