private static IPackageService GetPackageService() { var modulesPath = Path.Combine(_tempDir, @"modules"); var packagesPath = Path.Combine(_tempDir, @"packages"); var manifestProvider = new ModuleManifestProvider(modulesPath); var service = new ZipPackageService(null, manifestProvider, packagesPath); return(service); }
protected override IModuleCatalog CreateModuleCatalog() { var manifestProvider = new ModuleManifestProvider(_modulesPhysicalPath); return(new ManifestModuleCatalog(manifestProvider, _modulesVirtualPath, _assembliesPath, _platformPath)); }