You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[xUnit.net 00:00:03.88] ReadKey.KeyAvailable [FAIL]
[xUnit.net 00:00:03.88] System.InvalidOperationException : Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.
[xUnit.net 00:00:03.88] Stack Trace:
[xUnit.net 00:00:03.89] /_/src/libraries/System.Console/src/System/ConsolePal.Windows.cs(278,0): at System.ConsolePal.get_KeyAvailable()
[xUnit.net 00:00:03.89] /_/src/libraries/System.Console/src/System/Console.cs(153,0): at System.Console.get_KeyAvailable()
[xUnit.net 00:00:03.89] /_/src/libraries/System.Console/tests/ReadKey.cs(21,0): at ReadKey.KeyAvailable()
Additional logging:
The docs state that fileType 2 means:
I would assume that in such a case an
InvalidOperationException
shouldn't happen. Also this seems to be specific to Windows 7 x86.cc @eiriktsarpalis
The text was updated successfully, but these errors were encountered: