Visual studio (MAC) Console Application
17,477
By default VS for Mac uses Application Output
panel to simulate the console.
In your case, an external console should be used, which you should open Project Options
and check the box before Run on external console
under Run|Configurations|Default
.
![M. Pilarczyk](https://i.stack.imgur.com/cjXy9.jpg?s=256&g=1)
Author by
M. Pilarczyk
Updated on June 22, 2022Comments
-
M. Pilarczyk about 2 years
maybe some of you know, that Visual Studio (Preview) is ready to use.
I have simple question, maybe I did something wrong, or it doesn't work properly.
When I start to debug Console Application doesn't want to let me read name from keyboard.
string name = Console.ReadLine(); Console.WriteLine(name);
Can someone help me? I'd like to see how it works correctly.
-
M. Pilarczyk over 7 yearsThank you very much. Now it works.
-
user1703401 over 6 years
-
olisteadman over 5 yearsWow, so glad I found this answer. Thanks Lex Li. Except in my case it was unticking that box, which allowed VS console to start showing me the expected output. The box had been ticket by default and seemed to be stopping the console from exhibiting any of the expected behaviour.
-
kintela almost 5 yearsIn my console application when I execute the console.write ("Enter value") the text appears in the output panel but I can not put any value because the next instruction is executed: int firstAltitude=int.Parse(Console.readLine()) and crash with null value