diff --git a/WebUI/Controllers/PluginsController.cs b/WebUI/Controllers/PluginsController.cs index a316e17..acb5ffa 100644 --- a/WebUI/Controllers/PluginsController.cs +++ b/WebUI/Controllers/PluginsController.cs @@ -1,5 +1,4 @@ using DiscordBotCore.PluginManagement; -using DiscordBotCore.PluginManagement.Models; using Microsoft.AspNetCore.Mvc; using WebUI.Models; using ILogger = DiscordBotCore.Logging.ILogger; diff --git a/WebUI/Program.cs b/WebUI/Program.cs index 9b1ad2a..adcc039 100644 --- a/WebUI/Program.cs +++ b/WebUI/Program.cs @@ -10,6 +10,7 @@ using IConfiguration = DiscordBotCore.Configuration.IConfiguration; using ILogger = DiscordBotCore.Logging.ILogger; #region Load External (Unmanaged) Assemblies + // This code is used to load external (unmanaged) assemblies from the same folder as the executing assembly. // It handles the AssemblyResolve event to search for the requested assembly in a specific folder structure. // The folder structure is expected to be: /Libraries//.