Where are the x64 and ARM Developer Prompts for VS2017?

后端 未结 2 1216
悲哀的现实
悲哀的现实 2020-12-11 04:18

I installed the Visual Studio 2017 Build Tools. After installation, there\'s only an x86 Developer Command Prompt when navigating Start → Programs → Visual Studio 2017 →

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-11 04:44

    The developer prompt bat files seem to have been restructured a little in VS 2017. Instead of having a fixed set of predefined developer prompts, you can customize it even more now.

    To get a developer prompt for e.g. arm, add -arch=arm -host_arch=amd64 as parameters to VsDevCmd.bat (e.g. in the shortcut in the start menu).

    For the full list of available options, have a look in \Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd\core\parse_cmd.bat, or call "\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -help.

    I'm not sure if this really is documented anywhere, or if it will be fixed up and/or documented better for the final release of VS 2017.

    Installing the insider preview Windows 10 SDK is unrelated to this; the standalone Windows SDK doesn't include any compilers, only headers and link libraries.

提交回复
热议问题