Use binary logging instead of plaintext file logging

This commit is contained in:
Nate McMaster 2017-05-12 11:14:47 -07:00
Родитель 5dab67e87d
Коммит c367af001c
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -100,7 +100,7 @@ if (!($env:Path.Split(';') -icontains $dotnetLocalInstallFolder))
$makeFileProj = "$PSScriptRoot/KoreBuild.proj"
$msbuildArtifactsDir = "$repoFolder/artifacts/msbuild"
$msbuildLogFilePath = "$msbuildArtifactsDir/msbuild.log"
$msbuildLogFilePath = "$msbuildArtifactsDir/msbuild.binlog"
$msBuildResponseFile = "$msbuildArtifactsDir/msbuild.rsp"
@ -108,8 +108,7 @@ $msBuildArguments = @"
/nologo
/m
/p:RepositoryRoot="$repoFolder/"
/fl
/flp:LogFile="$msbuildLogFilePath";Verbosity=detailed;Encoding=UTF-8
/bl:"$msbuildLogFilePath"
/clp:Summary
"$makeFileProj"
"@

Просмотреть файл

@ -135,7 +135,7 @@ export ReferenceAssemblyRoot=$NUGET_PACKAGES/netframeworkreferenceassemblies/$ne
makeFileProj="$scriptRoot/KoreBuild.proj"
msbuildArtifactsDir="$repoFolder/artifacts/msbuild"
msbuildResponseFile="$msbuildArtifactsDir/msbuild.rsp"
msbuildLogFile="$msbuildArtifactsDir/msbuild.log"
msbuildLogFile="$msbuildArtifactsDir/msbuild.binlog"
if [ ! -f $msbuildArtifactsDir ]; then
mkdir -p $msbuildArtifactsDir
@ -145,8 +145,7 @@ cat > $msbuildResponseFile <<ENDMSBUILDARGS
/nologo
/m
/p:RepositoryRoot="$repoFolder/"
/fl
/flp:LogFile="$msbuildLogFile";Verbosity=detailed;Encoding=UTF-8
/bl:"$msbuildLogFile"
/clp:Summary
"$makeFileProj"
ENDMSBUILDARGS