Remove verbose dependency info

- It's not needed since we have response files on disk that are easy to look at.
This commit is contained in:
David Fowler 2015-12-17 01:00:24 -08:00
parent ee5cb05e35
commit 56530c9113

View file

@ -279,9 +279,6 @@ namespace Microsoft.DotNet.Tools.Compiler
return false;
}
// Dump dependency data
ShowDependencyInfo(dependencies);
// Get compilation options
var outputName = GetProjectOutput(context.ProjectFile, context.TargetFramework, configuration, outputPath);
@ -825,37 +822,6 @@ namespace Microsoft.DotNet.Tools.Compiler
}
}
private static void ShowDependencyInfo(IEnumerable<LibraryExport> dependencies)
{
if (CommandContext.IsVerbose())
{
foreach (var dependency in dependencies)
{
if (!dependency.Library.Resolved)
{
Reporter.Verbose.WriteLine($" Unable to resolve dependency {dependency.Library.Identity.ToString().Red().Bold()}");
Reporter.Verbose.WriteLine("");
}
else
{
Reporter.Verbose.WriteLine($" Using {dependency.Library.Identity.Type.Value.Cyan().Bold()} dependency {dependency.Library.Identity.ToString().Cyan().Bold()}");
Reporter.Verbose.WriteLine($" Path: {dependency.Library.Path}");
foreach (var metadataReference in dependency.CompilationAssemblies)
{
Reporter.Verbose.WriteLine($" Assembly: {metadataReference}");
}
foreach (var sourceReference in dependency.SourceReferences)
{
Reporter.Verbose.WriteLine($" Source: {sourceReference}");
}
Reporter.Verbose.WriteLine("");
}
}
}
}
private static void CopyFiles(IEnumerable<LibraryAsset> files, string outputPath)
{
foreach (var file in files)