private static IEnumerable<string> GenerateLines(LibraryExport export, IEnumerable<LibraryAsset> items, string type) { return items.Select(item => EscapeCsv(export.Library.Identity.Type.Value) + "," + EscapeCsv(export.Library.Identity.Name) + "," + EscapeCsv(export.Library.Identity.Version.ToNormalizedString()) + "," + EscapeCsv(export.Library.Hash) + "," + EscapeCsv(type) + "," + EscapeCsv(item.Name) + "," + EscapeCsv(item.RelativePath) + ","); }
private static void CopyExport(string outputPath, LibraryExport export) { CopyFiles(export.RuntimeAssemblies, outputPath); CopyFiles(export.NativeLibraries, outputPath); }