Console.WriteLine throws an IOException
- mhargreaves
- Posts:84
- Joined: Thu Nov 11, 2010 12:31 pm
Console.WriteLine throws an IOException
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?