23 writes to StandardErrorCallback
aspire (23)
Certificates\CertificateService.cs (2)
33StandardErrorCallback = ensureCertificateCollector.AppendError, 46StandardErrorCallback = ensureCertificateCollector.AppendError,
Commands\AddCommand.cs (1)
167StandardErrorCallback = outputCollector.AppendError,
Commands\ExecCommand.cs (1)
169StandardErrorCallback = runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
139StandardErrorCallback = initContext.GetSolutionProjectsOutputCollector.AppendError 282StandardErrorCallback = initContext.InstallTemplateOutputCollector.AppendError 310StandardErrorCallback = initContext.NewProjectOutputCollector.AppendError 365StandardErrorCallback = initContext.AddAppHostToSolutionOutputCollector.AppendError 391StandardErrorCallback = initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError 423StandardErrorCallback = outputCollector.AppendError 457StandardErrorCallback = outputCollector.AppendError 524StandardErrorCallback = initContext.EvaluateSolutionProjectsOutputCollector.AppendError
Commands\PipelineCommandBase.cs (2)
174StandardErrorCallback = buildOutputCollector.AppendError, 199StandardErrorCallback = operationOutputCollector.AppendError,
Commands\RunCommand.cs (2)
150StandardErrorCallback = buildOutputCollector.AppendError, 182StandardErrorCallback = runOutputCollector.AppendError,
DotNet\DotNetCliRunner.cs (5)
197options.StandardErrorCallback = (line) => { 384options.StandardErrorCallback = (line) => { 1007options.StandardErrorCallback = (line) => 1078options.StandardErrorCallback = (line) => { 1118options.StandardErrorCallback = (line) => {
Templating\DotNetTemplateFactory.cs (2)
380StandardErrorCallback = templateInstallCollector.AppendOutput, 417StandardErrorCallback = newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliRunner.cs (6)
196var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 383var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 617options.StandardErrorCallback, 1006var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1077var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1117var existingStandardErrorCallback = options.StandardErrorCallback;
Aspire.Cli.Tests (6)
Certificates\CertificateServiceTests.cs (2)
26Assert.NotNull(options.StandardErrorCallback); 27options.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)
84Assert.NotNull(invocationOptions.StandardErrorCallback); 90invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage); 154Assert.NotNull(invocationOptions.StandardErrorCallback); 160invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage);