Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"System.IO.__Error.WinIOError" when you write to the standard output stream


View products that this article applies to.

Symptoms

On a Microsoft Windows 10 Internet of Things (IoT) device, when you use the Console.WriteLine method in a console application, you may receive the following error message:

System.IO.__Error.WinIOError

↑ Back to the top


Cause

This problem occurs when the conhost.exe virus removal solution is installed on the device.

↑ Back to the top


Resolution

To fix this problem, upgrade to Windows 10 version 1511.

If you're running Windows 10 LTSB (Long Term Servicing Branch), the problem is fixed in an upcoming release of Windows 10.

↑ Back to the top


More Information

For more information, see Console.WriteLine method.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3160963
Revision : 1
Created on : 1/7/2017
Published on : 9/28/2016
Exists online : False
Views : 244