Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Visual Studio 2008 中,我第一次按 F5(开始调试)时,它会询问我要调试什么可执行文件。我输入了一个错误的,现在每次我开始调试时都会运行错误的可执行文件。有没有办法改变它?
(我的项目是cmake生成的大C++项目)
谢谢
解决方案:Common Properties -> Startup Project -> Single startup project ->选择正确的项目
对于项目:配置属性 -> 调试 -> 命令 ->导航到要启动的 .exe 路径
我希望这有帮助!