error MSB6006: “cmd.exe” exited with code 1

前端 未结 10 1396
生来不讨喜
生来不讨喜 2020-12-30 21:09

When I\'m trying to build my VC++ code using 2010 I\'m getting the error message

> C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targ

10条回答
  •  臣服心动
    2020-12-30 21:23

    Simple and better solution : %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe MyProject.sln I make a bat file like this %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe D:\GESTION-SOMECOPA\GestionCommercial\GestionCommercial.sln pause

    Then I can see all errors and correct them. Because when you change the folder name (without spaces as seen above) you will have another problems. Visual Studio 2015 works fine after this.

提交回复
热议问题