开发者

C# console cannot launch on MonoDevelop 2.4

开发者 https://www.devze.com 2023-01-22 22:07 出处:网络
I t开发者_如何学JAVAried to load a New solution > C# > Console project, while pressing Ctrl+F5, it does not run or showing anything, do I need to install .NET SDK?

I t开发者_如何学JAVAried to load a New solution > C# > Console project, while pressing Ctrl+F5, it does not run or showing anything, do I need to install .NET SDK?

I could launch the GTK# windows create on my own.


Looks like a bug.

Right click your project, do Options, go to Run: General, and turn off "Run on external console".


That's probably because your program isn't doing anything, so the console window closes instantly.

Try adding Console.ReadKey() to the Main method.

0

精彩评论

暂无评论...
验证码 换一张
取 消