public static IEnumerable <string> EnumerateMetas(PackageReferenceModel package) { var libPath = Path.Combine(package.PackagePath, "lib"); return(EnumerateFiles(libPath, package.FrameworkShortFolderName, "*.xml", SearchOption.TopDirectoryOnly, out _)); }
public static IEnumerable <string> EnumerateSourceFiles(PackageReferenceModel package, out string baseFolder) { var sourcesPath = Path.Combine(package.PackagePath, "contentFiles", "cs"); return(EnumerateFiles(sourcesPath, package.FrameworkShortFolderName, "*.cs", SearchOption.AllDirectories, out baseFolder)); }