From 25c8fabb4431b52ca8b39f3b01470d9500d5eab5 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Wed, 28 Feb 2018 16:07:26 -0800 Subject: [PATCH] Remove AppVeyor specific cmdlet from 'Start-NativeExecution' (#6263) Refreshed the cache by running `dotnet nuget locals all --clear` before `dotnet restore`. --- build.psm1 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.psm1 b/build.psm1 index 7e0940776b..80424229ae 100644 --- a/build.psm1 +++ b/build.psm1 @@ -2076,12 +2076,6 @@ function script:Start-NativeExecution $callerLine = $callerLocationParts[1] $errorMessage = "Execution of {$sb} by ${callerFile}: line $callerLine failed with exit code $LASTEXITCODE" - - if ($null -ne $env:CI) - { - Add-AppveyorCompilationMessage $errorMessage -Category Error -FileName $callerFile -Line $callerLine - } - throw $errorMessage } throw "Execution of {$sb} failed with exit code $LASTEXITCODE"