error "cmd.exe" exited with code 1 in visual studio 2010
Hi there.
I used to make my QT project via visual studio 2008.
Because of a certain reason, I upgraded my visual studio to 2010.
So far, compiling QT libraries was fine on my computer.
However, when I tried to run my project built in visual studio 2008 which was perfectly fine on 2008, unexpected error occured.
error MSB6006: "cmd.exe" eixited with code 1.
Setting environment variables and path on visual studio have already completed.
How can I solve this?
Anyone can help me?
Thanks in advance.
Re: error "cmd.exe" exited with code 1 in visual studio 2010
Quote:
error MSB6006: "cmd.exe" eixited with code 1.
It MIGHT BE because there are some operation in customer built steps failed. In project properties, go to customer step, you can see there maybe some something in command line edit box. Open a windows promote and paste the command to it. Run, check if there is something wrong and fix it.
If there is no command line in the project property custom built step, maybe you should check property of every single file of the project.
If the command line has some macro, replace it with an actual value.
Or you can echo the command in VS output window:
cd %(somedir)
echo %(somedir)
You won't miss it that way.