From 04c0776346376f741ba92528f6a17e8a93db9dd3 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Mon, 31 Dec 2018 15:00:53 +0300 Subject: [PATCH] Go to the root folder on a build error --- build-all.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/build-all.ps1 b/build-all.ps1 index 935cfeb8a9..57a1da9e7b 100644 --- a/build-all.ps1 +++ b/build-all.ps1 @@ -31,6 +31,7 @@ foreach ($solutionPath in $solutionPaths) { dotnet build if (-Not $?) { Write-Host ("Build failed for the solution: " + $solutionPath) + Set-Location $rootFolder exit $LASTEXITCODE } }