Click here to Skip to main content
15,848,555 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello readers. I am trying to run MSBuild through command line but it keeps giving me the same error. It says it cannot run Visual C++ component VCBuild.exe. Any solutions to this problem ? Thank you for reading.

What I have tried:

I've searched about this but couldn't find what I was looking for.
Updated 23-Jul-20 22:58pm
VD-Flash 23-Jul-20 11:23am    
I want to know why it cannot find vcbuild.exe ? And why does it need it ?
Sandeep Mewara 23-Jul-20 11:41am    
I doubt if the error you get and the one shared here are same. Can you confirm if so or share the exact error you get?
VD-Flash 23-Jul-20 12:54pm    
I don't have Visual Studio installed on my PC. I am trying to build a vcproj file through command line with MSBuild. My question was that can't it build the project itself? Why would it require VCBuild?

You can download the command line VC++ tools here.

Microsoft C++ Build Tools without Visual Studio[^]
Share this answer
VD-Flash 24-Jul-20 9:36am    
This is great. Thank you for this information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900