24 writes to StandardErrorCallback
aspire (24)
Certificates\CertificateService.cs (2)
33StandardErrorCallback = ensureCertificateCollector.AppendError, 46StandardErrorCallback = ensureCertificateCollector.AppendError,
Commands\ExecCommand.cs (1)
169StandardErrorCallback = runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
203StandardErrorCallback = initContext.GetSolutionProjectsOutputCollector.AppendError 346StandardErrorCallback = initContext.InstallTemplateOutputCollector.AppendError 374StandardErrorCallback = initContext.NewProjectOutputCollector.AppendError 429StandardErrorCallback = initContext.AddAppHostToSolutionOutputCollector.AppendError 455StandardErrorCallback = initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError 487StandardErrorCallback = outputCollector.AppendError 521StandardErrorCallback = outputCollector.AppendError 613StandardErrorCallback = initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
203options.StandardErrorCallback = (line) => { 390options.StandardErrorCallback = (line) => { 1068options.StandardErrorCallback = (line) => 1139options.StandardErrorCallback = (line) => { 1179options.StandardErrorCallback = (line) => {
Projects\AppHostServerProject.cs (1)
501StandardErrorCallback = outputCollector.AppendError
Projects\DotNetAppHostProject.cs (5)
217StandardErrorCallback = buildOutputCollector.AppendError, 265StandardErrorCallback = runOutputCollector.AppendError, 338StandardErrorCallback = buildOutputCollector.AppendError, 367StandardErrorCallback = runOutputCollector.AppendError, 397StandardErrorCallback = outputCollector.AppendError,
Templating\DotNetTemplateFactory.cs (2)
411StandardErrorCallback = templateInstallCollector.AppendOutput, 448StandardErrorCallback = newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliRunner.cs (6)
202var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 389var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 628options.StandardErrorCallback, 1067var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1138var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1178var 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);