From 570c851030e361072b7995e7bf8ae35f0590ebf6 Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Wed, 1 Apr 2015 15:55:26 -0400 Subject: [PATCH] revert change that break forward compat --- Tasks/VSBuild/VSBuild.ps1 | 7 +++++-- Tasks/VSBuild/task.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Tasks/VSBuild/VSBuild.ps1 b/Tasks/VSBuild/VSBuild.ps1 index 8e7fe880f7b1..245198e63260 100644 --- a/Tasks/VSBuild/VSBuild.ps1 +++ b/Tasks/VSBuild/VSBuild.ps1 @@ -62,6 +62,9 @@ if (!$solutionFiles) throw "No solution with search pattern '$solution' was found." } +Write-Verbose "Creating a new timeline for logging events" +$timeline = Start-Timeline -Context $distributedTaskContext + $args = $msbuildArgs; if ($platform) { @@ -120,7 +123,7 @@ if ($cleanBuild) { foreach ($sf in $solutionFiles) { - Invoke-MSBuild $sf -Targets Clean -LogFile "$sf-clean.log" -ToolLocation $msBuildLocation -CommandLineArgs $args -NoTimelineLogger:$noTimelineLogger + Invoke-MSBuild $sf -Timeline $timeline -Targets Clean -LogFile "$sf-clean.log" -ToolLocation $msBuildLocation -CommandLineArgs $args -NoTimelineLogger:$noTimelineLogger } } @@ -149,7 +152,7 @@ foreach ($sf in $solutionFiles) } } - Invoke-MSBuild $sf -LogFile "$sf.log" -ToolLocation $msBuildLocation -CommandLineArgs $args -NoTimelineLogger:$noTimelineLogger + Invoke-MSBuild $sf -Timeline $timeline -LogFile "$sf.log" -ToolLocation $msBuildLocation -CommandLineArgs $args -NoTimelineLogger:$noTimelineLogger } Write-Verbose "Leaving script VSBuild.ps1" diff --git a/Tasks/VSBuild/task.json b/Tasks/VSBuild/task.json index 8a33fb641659..0a7ecd0942e6 100644 --- a/Tasks/VSBuild/task.json +++ b/Tasks/VSBuild/task.json @@ -8,7 +8,7 @@ "version": { "Major": 1, "Minor": 0, - "Patch": 7 + "Patch": 6 }, "demands": [ "msbuild",