Add Console color and upgrade references to 23614

This commit is contained in:
Bryan 2015-12-14 15:08:16 -08:00
parent d502f3d57e
commit f54b08ea53
2 changed files with 7 additions and 5 deletions

View file

@ -39,10 +39,13 @@ namespace MultiProjectValidator
var failedCount = analysisResults.Where((a) => !a.Passed).Count();
var passedCount = analysisResults.Where((a) => a.Passed).Count();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine($"{passedCount} Successful Analysis Rules");
Console.WriteLine($"{failedCount} Failed Analysis Rules");
if(failedCount != 0)
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine($"{failedCount} Failed Analysis Rules");
if (failedCount != 0)
{
Console.WriteLine("Failure Messages");
@ -57,6 +60,7 @@ namespace MultiProjectValidator
}
}
}
Console.ForegroundColor = ConsoleColor.White;
}
private static bool AnyAnalysisFailed(List<AnalysisResult> analysisResults)

View file

@ -6,11 +6,9 @@
},
"dependencies": {
"Microsoft.NETCore.Runtime": "1.0.1-beta-*",
"NETStandard.Library": "1.0.0-rc2-23608",
"NETStandard.Library": "1.0.0-rc2-23614",
"Microsoft.DotNet.ProjectModel": "1.0.0-*",
"Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"System.Linq": "4.0.1-rc2-23608"
},
"frameworks": {