25 writes to StandardErrorCallback
aspire (25)
Certificates\CertificateService.cs (3)
78
StandardErrorCallback
= collector.AppendError,
113
StandardErrorCallback
= collector.AppendError,
130
StandardErrorCallback
= collector.AppendError,
Commands\ExecCommand.cs (1)
164
StandardErrorCallback
= runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
197
StandardErrorCallback
= initContext.GetSolutionProjectsOutputCollector.AppendError
340
StandardErrorCallback
= initContext.InstallTemplateOutputCollector.AppendError
368
StandardErrorCallback
= initContext.NewProjectOutputCollector.AppendError
423
StandardErrorCallback
= initContext.AddAppHostToSolutionOutputCollector.AppendError
449
StandardErrorCallback
= initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError
481
StandardErrorCallback
= outputCollector.AppendError
515
StandardErrorCallback
= outputCollector.AppendError
617
StandardErrorCallback
= initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
352
options.
StandardErrorCallback
= (line) => {
585
options.
StandardErrorCallback
= (line) => {
965
options.
StandardErrorCallback
= (line) =>
1060
options.
StandardErrorCallback
= (line) => {
1100
options.
StandardErrorCallback
= (line) => {
Projects\AppHostServerProject.cs (1)
546
StandardErrorCallback
= outputCollector.AppendError
Projects\DotNetAppHostProject.cs (5)
240
StandardErrorCallback
= buildOutputCollector.AppendError,
288
StandardErrorCallback
= runOutputCollector.AppendError,
373
StandardErrorCallback
= buildOutputCollector.AppendError,
402
StandardErrorCallback
= runOutputCollector.AppendError,
432
StandardErrorCallback
= outputCollector.AppendError,
Templating\DotNetTemplateFactory.cs (2)
420
StandardErrorCallback
= templateInstallCollector.AppendOutput,
457
StandardErrorCallback
= newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliExecution.cs (1)
79
_options.
StandardErrorCallback
,
DotNet\DotNetCliRunner.cs (5)
351
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
584
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
953
var originalStderrCallback = options.
StandardErrorCallback
;
1059
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
1099
var existingStandardErrorCallback = options.
StandardErrorCallback
;
Aspire.Cli.Tests (6)
Certificates\CertificateServiceTests.cs (2)
210
Assert.NotNull(options.
StandardErrorCallback
);
211
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)
85
Assert.NotNull(invocationOptions.
StandardErrorCallback
);
91
invocationOptions.
StandardErrorCallback
?.Invoke(testErrorMessage);
155
Assert.NotNull(invocationOptions.
StandardErrorCallback
);
161
invocationOptions.
StandardErrorCallback
?.Invoke(testErrorMessage);