【发布时间】:2017-09-27 22:22:32
【问题描述】:
我安装了 Visual Studio 2015 并且能够在 IDE 中编译和运行 c++ 测试应用程序。
我的 npm 安装程序抛出错误
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
当我安装 Visual Studio 2013 时,我没有收到此错误。此 npm 项目使用的库基于 Visual Studio 2015。
在 Visual Studio 2015 安装后,我是否需要做一些在 Visual Studio 2013 中不需要做的额外事情?
【问题讨论】:
-
只需在 Google 查询框中输入“vcbuild.exe”就足以在 SO 中找到两个描述此问题及其解决方案的现有问题。
-
没这么简单。 Visual Studio 2015 更改了编译器名称,我无法切换到 2013 或更早版本。
标签: c++ visual-studio visual-studio-2015 npm