We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pushd
popd
1 parent 2da072a commit 6949d43Copy full SHA for 6949d43
1 file changed
build.cmd
@@ -75,6 +75,7 @@ set "NUGET_PACKAGES=%~dp0packages"
75
REM Are we running in a local dev environment (not on CI)?
76
if DEFINED CI (set Desktop=false) else if DEFINED TEAMCITY_VERSION (set Desktop=false) else (set Desktop=true)
77
78
+pushd %~dp0
79
if "%1" == "" goto BuildDefaults
80
81
MSBuild "%~dp0Runtime.msbuild" /m /nr:false /p:Platform="Any CPU" /p:Desktop=%Desktop% /v:M ^
@@ -91,11 +92,13 @@ goto BuildSuccess
91
92
:BuildFail
93
echo.
94
echo *** BUILD FAILED ***
95
+popd
96
endlocal
97
exit /B 999
98
99
:BuildSuccess
100
101
echo **** BUILD SUCCESSFUL ***
102
103
104
exit /B 0
0 commit comments