Where is vcbuild in VS2010?

夙愿已清 提交于 2019-12-31 12:55:27

问题


I've upgraded to VS2010 and am looking for the vbuild executable. For VS2008, it was under:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild.exe

Where is it for VS2010? It's not under:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcpackages\vcbuild.exe


回答1:


There isn't a vcbuild anymore - it's replaced by msbuild

There is also a TFSBuild.exe in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE but I don't know if it's an exact replacement.




回答2:


I was running into a similar issue with a Node.js module refusing to install unless I added the location of vcbuild.exe to the system path.

@neslekkiM's answer was a starting point for me, but I didn't want to have to install the entire Visual Studio or SDK - I just wanted the build tools. I ended up finding out you can download the build tools by themselves:

https://www.microsoft.com/en-us/download/details.aspx?id=48159

Once installed, your vcbuild.exe should be located somewhere in the subfolders of C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin (mine was in amd64).

I know this question is a few years old, but hopefully this helps someone later down the road.




回答3:


Installing Windows SDK 7 http://www.microsoft.com/en-us/download/details.aspx?id=3138 gives you back vcbuild But that revealed an new problem for us, ATLMFC is not installed. (needed to build our software on the buildserver, had to install vs2008)




回答4:


Using Chocolatey package manager:

choco install -y vcbuildtools



回答5:


Install Microsoft Visual C++. Set an environment variable for VCbuild.exe to the Visual Studio folder.



来源:https://stackoverflow.com/questions/7761395/where-is-vcbuild-in-vs2010

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