65.9K
CodeProject is changing. Read more.
Home

VS2017: What to do to get Console.Writexxxx working

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.94/5 (10 votes)

Mar 23, 2017

CPOL
viewsIcon

15131

A hack so you can use Console.Write and Console.WriteLine in VS2017 WinForm programminfg

Did you notice that in VS 2017 your Console.Write and Console.WriteLine do not write anything to VS's 'Output Window ? Here's a fix.

You'll have to ask MS why this new "feature" has been spring on us, but, meanwhile, you can add this to your 'using directives

using Console = System.Diagnostics.Debug;