From a3491b039e79ac75f5eca723184a26998d154460 Mon Sep 17 00:00:00 2001 From: punker76 Date: Thu, 28 Nov 2019 09:04:31 +0100 Subject: [PATCH] (GH-3702) Fix Error: Could not find an installer for the 'dotnet' scheme. We need this slight modification until the Cake itself fixes this. --- build.ps1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index c6c91b2527..ffbd272d12 100644 --- a/build.ps1 +++ b/build.ps1 @@ -238,5 +238,11 @@ $cakeArguments += $ScriptArgs # Start Cake Write-Host "Running build script..." -&$CAKE_EXE $cakeArguments -exit $LASTEXITCODE + +& "$CAKE_EXE" ./build.cake --bootstrap +if ($LASTEXITCODE -eq 0) +{ + & "$CAKE_EXE" $cakeArguments +} + +exit $LASTEXITCODE \ No newline at end of file