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:
parent
ee5cb05e35
commit
56530c9113
1 changed files with 0 additions and 34 deletions
|
@ -279,9 +279,6 @@ namespace Microsoft.DotNet.Tools.Compiler
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump dependency data
|
|
||||||
ShowDependencyInfo(dependencies);
|
|
||||||
|
|
||||||
// Get compilation options
|
// Get compilation options
|
||||||
var outputName = GetProjectOutput(context.ProjectFile, context.TargetFramework, configuration, outputPath);
|
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)
|
private static void CopyFiles(IEnumerable<LibraryAsset> files, string outputPath)
|
||||||
{
|
{
|
||||||
foreach (var file in files)
|
foreach (var file in files)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue