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

前端 未结 3 1622
一向
一向 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:55

    There are various developer command prompts for different targets, each starts a batch file that modifies the PATH and some other things so that various developer programs can work.

    Note that each command window started by these batch files starts with the PATH specified via the user and system environment settings. The batch files then modify the PATH etc within just that command window. Starting a new command window will not get the settings from the batch file as it does not modify the user and system environment settings.

    If you really want easy access to ildasm.exe frequently from a command window you can modify the user environment settings. On Windows 7 you can access these settings via the properties of the computer where you select "advanced system settings" and then "environment variables".

提交回复
热议问题