thanks to
Console.WriteLine does not output to Output Window in VS 2017
I have read that VS 2017 ( Community ) does not have "Hosting Process" removing the ability to use Console.WriteLine("");
However, I have also read from the developer community that this issue has been resolved in an update.
I have just downloaded the latest version 'March 05, 2019 -- Visual Studio 2017 version 15.9.8 Servicing Update' and this is still happening.
Does anyone know a way to fix this or should I just revert back to VS 2015.
Thanks
I don't think so I used VS2017 and still using it just make sure that you have used System
namespace
using System;
or use
System.Console.WriteLine("Hello, World!");
Visual Studio can't disable or enable Console.WriteLine
because it's a something of compiler's staff, not Visual Studio's stuff or, to be clear, it's one of .NET libraries.
See: System Namespace
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.