projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b7e46
)
Add check and instruction to build.cmd to run from normal prompt
author
Jeroen Janssen
<jeroen.janssen@gmail.com>
Sat, 14 Mar 2015 09:36:02 +0000
(10:36 +0100)
committer
Jeroen Janssen
<jeroen.janssen@gmail.com>
Sat, 14 Mar 2015 09:36:02 +0000
(10:36 +0100)
build.cmd
patch
|
blob
|
history
diff --git
a/build.cmd
b/build.cmd
index
78dd6a0
..
1b3116f
100644
(file)
--- 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