无法启动"program.exe"系统找不到指定的文件vs2008 [英] unable to start "program.exe" the system cannot find the file specified vs2008
问题描述
我能够成功构建解决方案.但是当我尝试开始调试或执行它时,我一直得到这个.有什么建议为什么会是这种情况?
I am able to successfully build solution. but i keep getting this when i try to start debugging or executing it. any suggestions why this might be the case?
更新:我解决了这个问题.我只是用空文件重新创建了proj,然后重新构建就可以了.一个问题:当我启动该程序(它是一个控制台应用程序)时,当我尝试从vs2008中输入任何输入内容时,如何阻止它消失?
update: i fixed the issue. I just recreated the proj with empty files and then just rebuild and it worked. one question: when i start the program (its a console app) how do i stop it from disappearing when i try to enter any input from within vs2008?
谢谢
推荐答案
确保调试命令
(属性>配置属性>调试>命令)
指向由您选择的配置构建的输出文件.
is pointing to the output file built by your selected configuration.
(属性>配置属性>常规>输出目录),
(属性>配置属性>链接器>常规>输出文件)
这篇关于无法启动"program.exe"系统找不到指定的文件vs2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!