protected override IFolder BuildFolder(string path) { using (var data = Match(path)) { var assemblyName = data.GetValue("AssemblyName"); var assemblyFile = data.GetValue("FileName"); var assembly = Assembly.LoadFile(assemblyFile); Folder rootFolder = Folder.CreateRoot(); foreach (var manifestResourceName in assembly.GetManifestResourceNames()) { var fileName = ResourceNameToFileName(assemblyName, manifestResourceName); var buffer = LoadAssemblyResource(assembly, manifestResourceName); rootFolder.AppendFile(fileName, buffer); } return(rootFolder); } }