简体   繁体   中英

Visual Studio doesn't open command window for console application

I see a light blue bar in Visual Studio saying "Ready" when I debug or run my code, but the command window doesn't open. What should I do for the command window to appear?

Your application is probably finishes its job so fast, that you dont notice the command window. Add Console.ReadKey(); at the end of your main function.

That is assuming you actualy run an exe file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM