Could not find ildasm.exe at location C:\Program Files (x86)\Microsoft visual studio 11.0

前端 未结 3 1621
一向
一向 2021-02-01 17:34

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

3条回答
  •  后悔当初
    2021-02-01 17:39

    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\.

提交回复
热议问题