东方耀AI技术分享

标题: 在有vs2015情况下安装Visual C++ Build tools [打印本页]

作者: 东方耀    时间: 2020-10-14 11:54
标题: 在有vs2015情况下安装Visual C++ Build tools
在有vs2015情况下安装Visual C++ Build tools


问题:
I need to install Visual C++ Build Tools. When I've download installer, I've tried to install it, however it's telling me I need to uninstall VS 2015!
How can I solve it? Why is Visual C++ Build tools telling me it needs to remove current VS 2015 installation?


Because these components are the same as the ones installed by the Visual Studio 2015 Update 2 setup, you cannot install the Visual C++ Build Tools on a machine that already has Visual Studio 2015 installed.


因为这些组件与VisualStudio 2015更新2安装程序所安装的组件相同,所以无法在已安装VisualStudio 2015的机器上安装VisualC++生成工具


既然你已经有了VS 2015,你可以去控制面板程序和功能,右键点击VS 2015项目,


然后修改(重新打开之前安装vs2015的可执行文件 会智能提示是否:卸载? 修改? 修复?),


我们这里选择修改


然后检查那些与VisualC++构建工具相关的组件的选项,


比如Visual C++,Windows SDK……然后安装它们。安装成功后,您可以构建C++项目









欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/) Powered by Discuz! X3.4