Click here to Skip to main content
15,889,849 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am getting MSBuild returned error code: -1 while compiling my VS2010 VC++ solutions.

Please do let me know how to resolve this.

Regards,
Posted
Updated 29-May-14 22:41pm
v2
Comments
Bernhard Hiller 30-May-14 3:07am    
You tageed that question with "C#", then you talk about VC++ solutions?
Richard MacCutchan 30-May-14 4:42am    
You resolve it by looking at the error messages, build logs etc. Please do not expect people to guess what is happening on your system.

1 solution

As other have pointed out, it means that your build process (either the compiling or the linking) has failed.
Check the output window in VC++, there should be a list of errors why the build failed. Correct these errors, and it will work.
 
Share this answer
 

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