Console.WriteLine throws an IOException

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
1 post • Page 1 of 1
mhargreaves
Posts: 80
Joined: Thu Nov 11, 2010 11:31 am

Console.WriteLine throws an IOException

Post by mhargreaves » Fri May 15, 2020 10:35 am

We are using the C# API and our console application uses Console.WriteLine in some places. We would like it still to write to our console but the console is redirected to WinCC OA log and when we WriteLine an IO exception is thrown. Is there a way to stop the console being redirected, or is there another solution to this so we can still get our console output?

Post Reply
1 post • Page 1 of 1