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)
164StandardErrorCallback = buildOutputCollector.AppendError, 189StandardErrorCallback = operationOutputCollector.AppendError,
Commands\RunCommand.cs (2)
152StandardErrorCallback = buildOutputCollector.AppendError, 188StandardErrorCallback = runOutputCollector.AppendError,
DotNet\DotNetCliRunner.cs (5)
197options.StandardErrorCallback = (line) => { 384options.StandardErrorCallback = (line) => { 1005options.StandardErrorCallback = (line) => 1076options.StandardErrorCallback = (line) => { 1116options.StandardErrorCallback = (line) => {
Templating\DotNetTemplateFactory.cs (2)
322StandardErrorCallback = templateInstallCollector.AppendOutput, 359StandardErrorCallback = 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. 615options.StandardErrorCallback, 1004var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1075var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1115var 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);