18 references to StdErr
aspire (6)
Commands\RunCommand.cs (1)
813.Where(static line => line.Stream == OutputLineStream.StdErr)
Commands\TestCommand.cs (1)
335.Where(line => line.Stream == OutputLineStream.StdErr).TakeLast(MaxDisplayedAppHostStartupOutputLines).ToArray();
Interaction\ConsoleInteractionService.cs (1)
703if (linesArray.Length == 1 && linesArray[0].Stream == OutputLineStream.StdErr)
Projects\GuestAppHostProject.cs (1)
1728if (stream == OutputLineStream.StdErr)
Utils\OutputCollector.cs (2)
47AppendLine(OutputLineStream.StdErr, line); 63_fileLogger?.WriteLog(DateTimeOffset.UtcNow, stream == OutputLineStream.StdErr ? LogLevel.Error : LogLevel.Information, _category, line);
Aspire.Cli.Tests (12)
Commands\RunCommandTests.cs (1)
1782(OutputLineStream.StdErr, "Endpoint 'http' must specify a port when isProxied is false.")
Interaction\ConsoleInteractionServiceTests.cs (1)
743(OutputLineStream.StdErr, "Error output with [square] brackets")
Projects\GuestRuntimeTests.cs (2)
870Assert.Equal(OutputLineStream.StdErr, line.Stream); 908Assert.Equal(OutputLineStream.StdErr, line.Stream);
Projects\PrebuiltAppHostServerTests.cs (3)
4089[(OutputLineStream.StdErr, ErrorStrings.IntegrationBuildFailed)], 4135[(OutputLineStream.StdErr, ErrorStrings.IntegrationBuildFailed)], 4175OutputLineStream.StdErr,
Projects\ProjectUpdaterNuGetConfigurationTests.cs (2)
376restoreSucceeds ? [] : new[] { (OutputLineStream.StdOut, "Determining projects to restore..."), (OutputLineStream.StdErr, "Native restore diagnostic: https://***@new.example/v3/index.json") }, 1754[(OutputLineStream.StdOut, restoreMessage), (OutputLineStream.StdOut, redactedError), (OutputLineStream.StdErr, redactedStderr)],
Utils\MissingJavaScriptToolWarningTests.cs (2)
30(OutputLineStream.StdErr, message) 41(OutputLineStream.StdErr, "npm ERR! code E401"),
Utils\OutputCollectorTests.cs (1)
48var stderrLines = lines.Where(l => l.Stream == OutputLineStream.StdErr).ToList();