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 } }