23 writes to StandardErrorCallback
aspire (23)
Commands\ExecCommand.cs (1)
153StandardErrorCallback = runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
216StandardErrorCallback = initContext.GetSolutionProjectsOutputCollector.AppendError 360StandardErrorCallback = initContext.InstallTemplateOutputCollector.AppendError 388StandardErrorCallback = initContext.NewProjectOutputCollector.AppendError 443StandardErrorCallback = initContext.AddAppHostToSolutionOutputCollector.AppendError 469StandardErrorCallback = initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError 501StandardErrorCallback = outputCollector.AppendError 535StandardErrorCallback = outputCollector.AppendError 642StandardErrorCallback = initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
358options.StandardErrorCallback = (line) => { 517options.StandardErrorCallback = (line) => { 918options.StandardErrorCallback = (line) => 1013options.StandardErrorCallback = (line) => { 1053options.StandardErrorCallback = (line) => {
Projects\DotNetAppHostProject.cs (5)
267StandardErrorCallback = buildOutputCollector.AppendError, 315StandardErrorCallback = runOutputCollector.AppendError, 415StandardErrorCallback = buildOutputCollector.AppendError, 446StandardErrorCallback = runOutputCollector.AppendError, 480StandardErrorCallback = outputCollector.AppendError,
Projects\DotNetBasedAppHostServerProject.cs (1)
430StandardErrorCallback = outputCollector.AppendError
Projects\PrebuiltAppHostServer.cs (1)
249StandardErrorCallback = buildOutput.AppendError
Templating\DotNetTemplateFactory.cs (2)
523StandardErrorCallback = templateInstallCollector.AppendOutput, 560StandardErrorCallback = newProjectCollector.AppendOutput,
10 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliExecution.cs (1)
79_options.StandardErrorCallback,
DotNet\DotNetCliRunner.cs (5)
344var existingStandardErrorCallback = options.StandardErrorCallback; 516var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 906var originalStderrCallback = options.StandardErrorCallback; 1012var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1052var existingStandardErrorCallback = options.StandardErrorCallback;
Aspire.Cli.Tests (4)
Commands\InitCommandTests.cs (4)
182Assert.NotNull(invocationOptions.StandardErrorCallback); 188invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage); 252Assert.NotNull(invocationOptions.StandardErrorCallback); 258invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage);