mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Prefer Assembly LoadFile to load Plugins
This commit is contained in:
parent
385503cc3d
commit
73117cb928
@ -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