How can I prevent Visual Studio (2019) from opening “VS Debug Console” and just use the old .NET Core Host console?

懵懂的女人 提交于 2021-01-28 12:20:33

问题


It seems like with VS 2019 (Enterprise?), there is a new type of console application host available that even stays unclosed after I stop debugging. When starting multiple projects, the first console application that starts up will be of this new type.

I am searching for a way to prevent VS to use this console for the "main"-project, and simply use the same console for every project I am starting. I have started the same solution with 4 ASP.NET Core projects inside VS 2017 and Visual Studio did not start any console with 'dotnet.exe' in the title. So for is seems like this is a new thing in 2019.

The reason for this question is because I am having some trouble with this new console. The project often does not start at all and the colors of the console are all green. But that shouldn't be topic of this question.

So is there a way to prevent Visual Studio 2019 from starting this new console?


回答1:


There's a setting under Tools->Options->Debugging->Automatically close the console when debugging stops that will restore the old behavior.



来源:https://stackoverflow.com/questions/56002509/how-can-i-prevent-visual-studio-2019-from-opening-vs-debug-console-and-just

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!