Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOException setting Console.OutputEncoding #47571

Closed
sharwell opened this issue Sep 9, 2020 · 1 comment · Fixed by #49721
Closed

IOException setting Console.OutputEncoding #47571

sharwell opened this issue Sep 9, 2020 · 1 comment · Fixed by #49721

Comments

@sharwell
Copy link
Member

sharwell commented Sep 9, 2020

Version Used: 20760c9

Steps to Reproduce:

Run dotnet/roslyn integration tests.

Actual Behavior:

Failed to launch 'c:\users\sam\appdata\local\microsoft\visualstudio\16.0_80a394a5roslyndev\extensions\microsoft\roslyn language services\42.42.42.4242424\InteractiveHost\Desktop\InteractiveHost64.exe' process (exit code: 1) with output: 
System.IO.IOException: The handle is invalid.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.set_OutputEncoding(Encoding value)
   at Microsoft.CodeAnalysis.Interactive.InteractiveHost.Service..ctor(Func`2 invokeOnMainThread) in C:\dev\roslyn\src\Interactive\Host\Interactive\Core\InteractiveHost.Service.cs:line 143
   at Microsoft.CodeAnalysis.Interactive.InteractiveHost.Service.<RunServerAsync>d__18.MoveNext() in C:\dev\roslyn\src\Interactive\Host\Interactive\Core\InteractiveHost.Service.cs:line 236
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Interactive.InteractiveHostEntryPoint.<Main>d__0.MoveNext() in C:\dev\roslyn\src\Interactive\HostProcess\InteractiveHostEntryPoint.cs:line 46
@tmat
Copy link
Member

tmat commented Nov 24, 2020

Related: dotnet/runtime#43295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants