// Add the plugins and libraries.
var pluginPaths = new List<string>(config.Paths);
var libraryPaths = new List<string>(config.LibraryPaths);
+ CheckPaths(pluginPaths);
+ CheckPaths(libraryPaths);
var rootFolder = Directory.GetCurrentDirectory();
return builder;
}
+ private static void CheckPaths(IEnumerable<string> paths)
+ {
+ foreach (var path in paths)
+ {
+ if (!Directory.Exists(path))
+ {
+ Logger.Warning("Path {path} was specified in the PluginLoader configuration, but this folder doesn't exist!", path);
+ }
+ }
+ }
+
private static void RegisterAssemblies(
IEnumerable<string> paths,
Matcher matcher,