protected ImportContext(string coreLibFolder, string addonLibFolders)
{
CoreLibFolder = coreLibFolder;
AddonLibFolders = addonLibFolders;
SearchPaths.Add(coreLibFolder);
if (string.IsNullOrWhiteSpace(addonLibFolders))
return;
string[] paths = addonLibFolders.Split(Path.PathSeparator);
foreach (var path in paths)
if (Directory.Exists(path))
SearchPaths.Add(path);
SearchPaths.Reverse();
}