Which Visual Studio component contain the MSVC Hostx files?

元气小坏坏 提交于 2019-12-02 06:46:00

问题


My .NET solution contains an editbin command in PostBuild events.

We try to create a Docker Container for compiling our solution. To do that, we installed the VS17 with the installer.

We can't find which component we should select to get the editbin.

In my machine, the editbin exist in C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Host{x86/x64}\{x86/x64/arm64} in 6 places- all the compinations of the placeholders.


回答1:


editbin is part of the C++ build toolchain, along with cl (the compiler), link (the linker), rc (the resource compiler), and other such tools for creating/modifying binaries. That's why you find it in "...\VC\Tools..." subdirectory.

As such, this would be in the "Visual Studio Build Tools 2017" component:

The Visual Studio Build Tools allows you to build native and managed MSBuild-based applications without requiring the Visual Studio IDE. There are options to install the Visual C++ compilers and libraries, MFC, ATL, and C++/CLI support.

Note that you do not need to install Visual Studio in order to get this. You could just as well install the Windows SDK.



来源:https://stackoverflow.com/questions/54504502/which-visual-studio-component-contain-the-msvc-hostx-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!