25 writes to StandardErrorCallback
aspire (25)
Certificates\CertificateService.cs (3)
80StandardErrorCallback = collector.AppendError, 114StandardErrorCallback = collector.AppendError, 131StandardErrorCallback = collector.AppendError,
Commands\ExecCommand.cs (1)
161StandardErrorCallback = runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
199StandardErrorCallback = initContext.GetSolutionProjectsOutputCollector.AppendError 342StandardErrorCallback = initContext.InstallTemplateOutputCollector.AppendError 370StandardErrorCallback = initContext.NewProjectOutputCollector.AppendError 425StandardErrorCallback = initContext.AddAppHostToSolutionOutputCollector.AppendError 451StandardErrorCallback = initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError 483StandardErrorCallback = outputCollector.AppendError 517StandardErrorCallback = outputCollector.AppendError 619StandardErrorCallback = initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
350options.StandardErrorCallback = (line) => { 584options.StandardErrorCallback = (line) => { 966options.StandardErrorCallback = (line) => 1061options.StandardErrorCallback = (line) => { 1101options.StandardErrorCallback = (line) => {
Projects\DotNetAppHostProject.cs (5)
258StandardErrorCallback = buildOutputCollector.AppendError, 306StandardErrorCallback = runOutputCollector.AppendError, 406StandardErrorCallback = buildOutputCollector.AppendError, 437StandardErrorCallback = runOutputCollector.AppendError, 468StandardErrorCallback = outputCollector.AppendError,
Projects\DotNetBasedAppHostServerProject.cs (1)
425StandardErrorCallback = outputCollector.AppendError
Templating\DotNetTemplateFactory.cs (2)
422StandardErrorCallback = templateInstallCollector.AppendOutput, 459StandardErrorCallback = newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliExecution.cs (1)
79_options.StandardErrorCallback,
DotNet\DotNetCliRunner.cs (5)
349var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 583var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 954var originalStderrCallback = options.StandardErrorCallback; 1060var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1100var existingStandardErrorCallback = options.StandardErrorCallback;
Aspire.Cli.Tests (6)
Certificates\CertificateServiceTests.cs (2)
210Assert.NotNull(options.StandardErrorCallback); 211options.StandardErrorCallback!.Invoke("There was an error trusting the HTTPS developer certificate. It will be trusted by some clients but not by others.");
Commands\InitCommandTests.cs (4)
85Assert.NotNull(invocationOptions.StandardErrorCallback); 91invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage); 155Assert.NotNull(invocationOptions.StandardErrorCallback); 161invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage);