我正尝试在Windows8专业版(64位)笔记本电脑上安装测试(使用nmp),但在此过程中尝试安装socket.io时失败。我得到的错误是
Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual
Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.
我显然已经安装了Windows Framework3.5(可以在控制面板的添加/删除.NET组件中查看),尽管我没有找到vcbuild.exe。我尝试安装一个旧的VS2005副本,但这导致了一个关于无效项目(.vcproj)文件的不同错误。
有没有人能建议我该怎么做呢?奇怪的是,它在我的工作电脑上安装得很好,这与不能安装它的那台非常相似(它们都是64位Win8 Pro)。
发布于 2013-04-11 06:29:29
我遇到了同样的问题。我通过将这个添加到环境变量PATH中修复了这个问题: C:\Program Files (x86)\Microsoft Visual Studio9.0\ vc \vcpackage,这样它就可以找到vc build。
发布于 2013-09-07 03:42:41
在Visual Studio2010中,命令行工具vcbuild.exe被msbuild.exe取代。所以,请确保你有正确的Visual studio。
https://stackoverflow.com/questions/15833736
复制相似问题