Add Console color and upgrade references to 23614
This commit is contained in:
parent
d502f3d57e
commit
f54b08ea53
2 changed files with 7 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue