Where is vcbuild in VS2010?

2019-03-12 16:36发布

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

5条回答
看我几分像从前
2楼-- · 2019-03-12 17:18

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楼-- · 2019-03-12 17:26

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

查看更多
看我几分像从前
4楼-- · 2019-03-12 17:35

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)

查看更多
\"骚年 ilove
5楼-- · 2019-03-12 17:38

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.

查看更多
Deceive 欺骗
6楼-- · 2019-03-12 17:38

Using Chocolatey package manager:

choco install -y vcbuildtools
查看更多
登录 后发表回答