From: Jeroen Janssen Date: Sat, 14 Mar 2015 09:36:02 +0000 (+0100) Subject: Add check and instruction to build.cmd to run from normal prompt X-Git-Tag: accepted/tizen/base/20180629.140029~6995^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53b9f1076471ab848e5b3fe5cb2ee9002b593e7e;p=platform%2Fupstream%2Fcoreclr.git Add check and instruction to build.cmd to run from normal prompt --- diff --git a/build.cmd b/build.cmd index 78dd6a0..1b3116f 100644 --- a/build.cmd +++ b/build.cmd @@ -17,6 +17,11 @@ set "__RootBinDir=%__ProjectDir%\binaries" set "__LogsDir=%__RootBinDir%\Logs" set __MSBCleanBuildArgs= +:: Ensure we are not already running in a development prompt +if "%VisualStudioVersion%" == "" goto Arg_Loop +echo Please make sure to run %0 from a normal prompt (not from a development prompt!) +goto :eof + :Arg_Loop if "%1" == "" goto ArgsDone if /i "%1" == "/?" goto Usage