error MSB6006:"cmd.exe" exited with code 9 RRS feed

  • Question

  • I try to compile my C++ project under VS2010 x64 and I got this error :

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: cmd.exe" exited with code 9.

    I read a lot of things about this error, but never with the code 9... I also check my custom build command and execute it in an external cmd and everything seems to be correct...

    Do you have an idea?


    • Moved by Carl Cai Monday, March 17, 2014 1:53 AM suggested forum is more dedicated for this issue
    Friday, March 14, 2014 9:03 AM

All replies

  • Hi,

    Sorry for my delay.

    Since this issue has lasted for a long time, in order to get your issue solved efficiently, I would suggest you post a new thread in Visual Studio Development forums MSBuild

    forum for more dedicated supports.

    Thanks for your understanding.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, March 17, 2014 1:52 AM