28 writes to StandardErrorCallback
aspire (25)
Commands\DashboardRunCommand.cs (1)
413StandardErrorCallback = outputCollector.AppendError,
DotNet\DotNetCliRunner.cs (7)
158StandardErrorCallback = StandardErrorCallback, 424StandardErrorCallback = line => 851options.StandardErrorCallback = (line) => 1079options.StandardErrorCallback = (line) => 1564options.StandardErrorCallback = (line) => 1660options.StandardErrorCallback = (line) => 1702options.StandardErrorCallback = (line) =>
Layout\LayoutProcessRunner.cs (1)
31StandardErrorCallback = line => errorBuilder.AppendLine(line),
Profiling\ProfileCaptureService.cs (1)
96StandardErrorCallback = outputCollector.AppendError
Projects\DotNetAppHostProject.cs (5)
1543StandardErrorCallback = runOutputCollector.AppendError, 1756StandardErrorCallback = buildOutputCollector.AppendError, 2423StandardErrorCallback = buildOutputCollector.AppendError, 2456StandardErrorCallback = runOutputCollector.AppendError, 2491StandardErrorCallback = outputCollector.AppendError,
Projects\DotNetBasedAppHostServerProject.cs (2)
562StandardErrorCallback = outputCollector.AppendError 706StandardErrorCallback = OnStderr,
Projects\PrebuiltAppHostServer.cs (2)
721StandardErrorCallback = buildOutput.AppendError 1392StandardErrorCallback = OnStderr,
Projects\ProcessGuestLauncher.cs (1)
126StandardErrorCallback = HandleStderrLine,
Telemetry\InternalMicrosoftDetector.cs (1)
1131StandardErrorCallback = 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 = _ => { },
15 references to StandardErrorCallback
aspire (8)
DotNet\DotNetCliRunner.cs (7)
158StandardErrorCallback = StandardErrorCallback, 431options.StandardErrorCallback?.Invoke(line); 836var existingStandardErrorCallback = options.StandardErrorCallback; 1078var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1552var originalStderrCallback = options.StandardErrorCallback; 1659var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1701var existingStandardErrorCallback = options.StandardErrorCallback;
DotNet\ProcessExecution.cs (1)
591_options.StandardErrorCallback?.Invoke(line);
Aspire.Cli.Tests (7)
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)
1296buildOptions.StandardErrorCallback?.Invoke(MissingSdkBuildError); 3500options.StandardErrorCallback?.Invoke(buildError); 3679options.StandardErrorCallback?.Invoke("error CS0103: The name 'MissingSymbol' does not exist in the current context");
ProfileCaptureServiceTests.cs (1)
80Assert.NotNull(processFactory.LastProcessInvocationOptions?.StandardErrorCallback);
Telemetry\InternalMicrosoftDetectorTests.cs (1)
866invocationOptions.StandardErrorCallback?.Invoke(MacPlatformSsoOutputFixture);