Pergunta

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

Foi útil?

Solução

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.

Outras dicas

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.

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)

Using Chocolatey package manager:

choco install -y vcbuildtools

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top