Project : error PRJ0003 : Error spawning 'cmd.exe'.
解决方案如下:
在Visual Studio中,选择工具->选项->工程和解决方案->VC++目录
点击上方的像文件夹的按钮-新建行,然后在空白处添加cmd.exe所在的目录C:\Windows\System32\ (如果你是默认装在C盘的话)点击确定,就OK了。 对于我这个方法管用了,如果你遇到这个问题,不妨先试一下。
backup:
In VS, go to
tools>options>projects and solutions>VC++ Directories
click the little folder button (new line) then in the new line that appears put:
C:\Windows\System32\
本文解决了一个常见的Visual Studio编译错误Project:errorPRJ0003,通过在工程设置中添加cmd.exe的路径到VC++目录,可以避免在编译过程中出现找不到cmd.exe的问题。
1万+

被折叠的 条评论
为什么被折叠?



