From 19f49a74df51708ff9f816506e4633bc4145df72 Mon Sep 17 00:00:00 2001 From: Sergey Komisarchik Date: Mon, 3 Jul 2017 21:59:51 +0300 Subject: [PATCH] BuildNativeUWP.ps1 fix - exit with non zero-code on error --- BuildNativeUWP.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BuildNativeUWP.ps1 b/BuildNativeUWP.ps1 index dc6e4dd52..a130f35b7 100644 --- a/BuildNativeUWP.ps1 +++ b/BuildNativeUWP.ps1 @@ -14,4 +14,6 @@ if ($customLogger) { else { & $msbuild $proj /verbosity:minimal /t:Restore & $msbuild $proj /verbosity:minimal /t:Build /p:Configuration=Release -} \ No newline at end of file +} + +if ($LASTEXITCODE -ne 0) { exit 4 } \ No newline at end of file