The default MSBuild logger does nice color-coding of output lines in the console window - if you happen to use the default black background for console windows. I find using bl
Using PowerShell, I suppose PS enthusiasts can provide a better script:
#
# Run MSBuild With Custom Color.ps1
#
msbuild C:\some_path\your.sln | foreach-object -process {
switch ($_){
{ $_.tolower().contains("warning")} {Write-Host $_ -foregroundColor DarkBlue}
{ $_.tolower().contains("error")} {Write-Host $_ -foregroundColor DarkRed}
default {Write-Host $_ -foregroundColor Black}
}
}