internal PluginManager(string pluginDir)
{
_pluginDir = pluginDir;
string[] alternateCacheLocations;
_loader = new PluginLoader(pluginDir, GetMetadataCacheFilePath(out alternateCacheLocations), alternateCacheLocations);
_backgroundAssemblyLoader = new BackgroundAssemblyLoader(this);
}