为什么我不能在调试模式下运行c#console应用程序? (MonoDevelop问题?)

时间:2013-12-09 20:07:12

标签: c# mono ide monodevelop

道歉,如果这不是正确的地方,但我在这里撕扯我的头发..

我有一个解决方案,然后我通过解决方案上下文菜单中的c# console project选项添加了一个新的“Add>Add New Project..”。

我可以很好地构建,我可以右键单击控制台项目并选择“Run Item”,它可以正常工作。但我真正想要的是调试器!但是,正如您所看到的,“Start Debugging Item”仍然是灰色的:

enter image description here

使用顶部新的调试/发布播放按钮无济于事,无论我采用哪种模式:

enter image description here

我去寻找其他配置选项,发现默认设置看起来就像我期望/想要的那样?

enter image description here enter image description here

我也重新启动了程序,创建了一些其他新的解决方案,但没有区别......有什么想法吗?

1 个答案:

答案 0 :(得分:0)

因为你运行的是Unity发送的monodevelop而不是Xamarin的那个

Unity C的默认PATH:\ Program Files(x86)\ Unity \ MonoDevelop

Xamarin C:\ Program Files(x86)\ MonoDevelop

的默认路径