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