28 writes to StandardErrorCallback
aspire (25)
Commands\DashboardRunCommand.cs (1)
413StandardErrorCallback = outputCollector.AppendError,
DotNet\DotNetCliRunner.cs (7)
152StandardErrorCallback = StandardErrorCallback, 412StandardErrorCallback = line => 839options.StandardErrorCallback = (line) => 1068options.StandardErrorCallback = (line) => 1545options.StandardErrorCallback = (line) => 1641options.StandardErrorCallback = (line) => 1683options.StandardErrorCallback = (line) =>
Layout\LayoutProcessRunner.cs (1)
31StandardErrorCallback = line => errorBuilder.AppendLine(line),
Profiling\ProfileCaptureService.cs (1)
96StandardErrorCallback = outputCollector.AppendError
Projects\DotNetAppHostProject.cs (5)
1534StandardErrorCallback = runOutputCollector.AppendError, 1721StandardErrorCallback = buildOutputCollector.AppendError, 2383StandardErrorCallback = buildOutputCollector.AppendError, 2413StandardErrorCallback = runOutputCollector.AppendError, 2444StandardErrorCallback = outputCollector.AppendError,
Projects\DotNetBasedAppHostServerProject.cs (2)
551StandardErrorCallback = outputCollector.AppendError 695StandardErrorCallback = OnStderr,
Projects\PrebuiltAppHostServer.cs (2)
721StandardErrorCallback = buildOutput.AppendError 1392StandardErrorCallback = OnStderr,
Projects\ProcessGuestLauncher.cs (1)
131StandardErrorCallback = HandleStderrLine,
Telemetry\InternalMicrosoftDetector.cs (1)
763StandardErrorCallback = line => stderr.AppendLine(line)
Templating\DotNetTemplateFactory.cs (1)
501StandardErrorCallback = newProjectCollector.AppendOutput,
Templating\TemplateNuGetConfigService.cs (1)
447StandardErrorCallback = collector.AppendOutput,
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
263StandardErrorCallback = output.AppendError
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
423StandardErrorCallback = _ => { },
Aspire.Cli.Tests (3)
DotNet\ProcessExecutionTests.cs (2)
78StandardErrorCallback = line => stderrBuilder.AppendLine(line) 136StandardErrorCallback = line => stderrBuilder.AppendLine(line)
DotNet\ProcessInvocationOptionsTests.cs (1)
21StandardErrorCallback = _ => { },
14 references to StandardErrorCallback
aspire (8)
DotNet\DotNetCliRunner.cs (7)
152StandardErrorCallback = StandardErrorCallback, 419options.StandardErrorCallback?.Invoke(line); 824var existingStandardErrorCallback = options.StandardErrorCallback; 1067var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1533var originalStderrCallback = options.StandardErrorCallback; 1640var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1682var existingStandardErrorCallback = options.StandardErrorCallback;
DotNet\ProcessExecution.cs (1)
591_options.StandardErrorCallback?.Invoke(line);
Aspire.Cli.Tests (6)
Commands\DoCommandTests.cs (2)
661options.StandardErrorCallback?.Invoke("Unhandled exception. Aspire.Hosting.DistributedApplicationException: Invalid operation specified. Valid operations are 'publish' or 'run'."); 691options.StandardErrorCallback?.Invoke("Unhandled exception. Aspire.Hosting.DistributedApplicationException: Invalid operation specified. Valid operations are 'publish' or 'run'.");
Commands\RunCommandTests.cs (3)
879buildOptions.StandardErrorCallback?.Invoke(MissingSdkBuildError); 2820options.StandardErrorCallback?.Invoke(buildError); 2999options.StandardErrorCallback?.Invoke("error CS0103: The name 'MissingSymbol' does not exist in the current context");
ProfileCaptureServiceTests.cs (1)
80Assert.NotNull(processFactory.LastProcessInvocationOptions?.StandardErrorCallback);