How does the Developer command prompt for Visual studio 2012 search the location of ildasm.exe. Running command window Developer command prompt for Visual studio
When you start Developer command prompt for Visual studio 2012
the command (it is a bat script) modifies environment PATH
(and other things that does not matter in this case).
You can see the difference when you type set
in Developer command prompt for Visual studio 2012
and in classic cmd
.
When you open Developer command prompt for Visual studio 2012
it is true that you land in
C:\Program Files (x86)\Microsoft visual studio 11.0
but thanks to the modified PATH
variable windows will look in every directory mentioned by this variable.
It will find ildasm.exe
in i.e. c:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\
.