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