public IEnumerable <string> FindAssemblies(string applicationDirectory) { var assemblyNames = new FileSet { Include = "*.dll", DeepSearch = false }; var fileSystem = new FileSystem(); return(FubuMvcPackageFacility .GetPackageDirectories() .SelectMany(dir => fileSystem.FindFiles(dir, assemblyNames))); }
public IEnumerable <IPackageInfo> Load(IPackageLog log) { var exploder = BottleExploder.GetPackageExploder(log); var reader = new BottleManifestReader(new FileSystem(), GetContentFolderForPackage); return(FubuMvcPackageFacility.GetPackageDirectories().SelectMany(dir => { return exploder.ExplodeDirectory(new ExplodeDirectory() { DestinationDirectory = FubuMvcPackageFacility.GetExplodedPackagesDirectory(), BottleDirectory = dir, Log = log }); }).Select(dir => reader.LoadFromFolder(dir))); }
private static IEnumerable <string> findPackageFolders(string applicationDirectory) { FubuMvcPackageFacility.PhysicalRootPath = applicationDirectory; return(FubuMvcPackageFacility.GetPackageDirectories()); }
public FubuMvcZipFilePackageLoader() : base(FubuMvcPackageFacility.GetExplodedPackagesDirectory(), FubuMvcPackageFacility.GetPackageDirectories() ) { }