avoid dupplicate assembly load

This commit is contained in:
弘韬 张 2021-02-24 12:37:57 +08:00
parent 374bb79e11
commit d81a4a7fa3

View file

@ -21,7 +21,7 @@ namespace Flow.Launcher.Core.Plugin
assemblyName = new AssemblyName(Path.GetFileNameWithoutExtension(assemblyFilePath));
referencedPluginPackageDependencyResolver =
new AssemblyDependencyResolver(Path.Combine(Constant.ProgramDirectory, "Flow.Launcher.Plugin.dll"));
new AssemblyDependencyResolver(Path.Combine(Constant.ProgramDirectory, "Flow.Launcher.dll"));
}
internal Assembly LoadAssemblyAndDependencies()