Console.Write() doesn't show output until a newline

When running an app with `dotnet run`, we are redirecting the standard out and error just to print it out to our standard out and error. However, we are batching the output until we hit a newline, which isn't ideal for console apps.

To fix this, `dotnet run` no longer redirects the standard out and error.

Fix #2777
This commit is contained in:
Eric Erhardt 2016-05-12 10:24:57 -05:00
parent 6482aa0221
commit 6bf59ffde6
7 changed files with 241 additions and 20 deletions

View file

@ -31,6 +31,7 @@ namespace Microsoft.DotNet.Cli.Build
"dotnet-publish.Tests",
"dotnet-resgen.Tests",
"dotnet-run.Tests",
"dotnet-run.UnitTests",
"dotnet-test.Tests",
"dotnet-test.UnitTests",
"Kestrel.Tests",