我目前正在开发一个 VS2010 C++ 项目,其中 VS2010 成功地在输出中显示的路径上构建了一个项目
1> Level2Socket.vcxproj -> C:\Project\LSock.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
但是当我单击项目并选择“调试”>>“启动新实例”时,Visual Studio 状态
Unable to start program the system cannot find the C:\Project\LSock.exe file specified.
我仔细检查了它确实存在的文件的存在。关于我为什么得到这个有什么建议吗?
最佳答案
project -> properties -> debugging , setup Working directory to your Project directory.
关于c++ - VS2010 构建了一个 exe 但无法调试它提示找不到它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15532458/