Console.WriteLine throws an IOException

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
1 post • Page 1 of 1
mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Console.WriteLine throws an IOException

Post by mhargreaves »

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?

1 post • Page 1 of 1