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

前端 未结 3 1083
盖世英雄少女心
盖世英雄少女心 2021-02-01 17:23

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:47

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

提交回复
热议问题