Skip to content

Commit

Permalink
Merge pull request #1 from Microsoft/users/tihuang/fixvsbuild
Browse files Browse the repository at this point in the history
revert change that break forward compat
  • Loading branch information
Jeff Young committed Apr 1, 2015
2 parents b6795d3 + 570c851 commit 6ddb807
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Tasks/VSBuild/VSBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
}
}

Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion Tasks/VSBuild/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 7
"Patch": 6
},
"demands": [
"msbuild",
Expand Down

0 comments on commit 6ddb807

Please sign in to comment.