C# 调试器无法继续运行该进程。无法开始调试
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17561130/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The debugger cannot continue running the process. Unable to start debugging
提问by Joachim Velzel
I used this to use my XNA game in visual studio 2012, everything worked perfectly as it looks but when I click on the debug button on the top bar, "Start Debugging" and "Start Without Debugging" are grayed out and I click on them. I can still click on the "Start" arrow, when I do I get the following error message.
我用它来在 Visual Studio 2012 中使用我的 XNA 游戏,一切正常,但当我点击顶部栏上的调试按钮时,“开始调试”和“开始而不调试”是灰色的,我点击它们. 我仍然可以单击“开始”箭头,当我收到以下错误消息时。


采纳答案by Joachim Velzel
XNA Solutions come with 2 projects, the Game project and the Content project. Make sure you have the Game Project set as the "start up project". To do this right-click the game project and click "Set as start-up project", it should now work fine.
XNA Solutions 有 2 个项目,游戏项目和内容项目。确保您将游戏项目设置为“启动项目”。为此,请右键单击游戏项目并单击“设置为启动项目”,现在应该可以正常工作了。
回答by Anh Bui
In general, we have to set the project which is executable (web, winform, console, mobile app...) is start up project so that we can debug / run the solution
通常,我们必须将可执行的项目(web、winform、控制台、移动应用程序...)设置为启动项目,以便我们可以调试/运行解决方案
回答by BNK
You will find the project loading unavailable (in Solution Explorer), just need to right-click then Reload Project.
您会发现项目加载不可用(在解决方案资源管理器中),只需右键单击然后重新加载项目。
回答by mehul9595
If you run in this issue for Xbox One application (Durango) here's how I solved,
如果您在 Xbox One 应用程序 (Durango) 中遇到此问题,这就是我解决的方法,
- uninstall XDK & ADK
- Reinstalling XDK then ADK.
- 卸载 XDK 和 ADK
- 重新安装 XDK,然后重新安装 ADK。
Posting here so it can help someone.
在这里张贴,以便它可以帮助某人。

