25 writes to StandardErrorCallback
aspire (25)
Certificates\CertificateService.cs (3)
80
StandardErrorCallback
= collector.AppendError,
114
StandardErrorCallback
= collector.AppendError,
131
StandardErrorCallback
= collector.AppendError,
Commands\ExecCommand.cs (1)
161
StandardErrorCallback
= runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
199
StandardErrorCallback
= initContext.GetSolutionProjectsOutputCollector.AppendError
342
StandardErrorCallback
= initContext.InstallTemplateOutputCollector.AppendError
370
StandardErrorCallback
= initContext.NewProjectOutputCollector.AppendError
425
StandardErrorCallback
= initContext.AddAppHostToSolutionOutputCollector.AppendError
451
StandardErrorCallback
= initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError
483
StandardErrorCallback
= outputCollector.AppendError
517
StandardErrorCallback
= outputCollector.AppendError
619
StandardErrorCallback
= initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
350
options.
StandardErrorCallback
= (line) => {
584
options.
StandardErrorCallback
= (line) => {
966
options.
StandardErrorCallback
= (line) =>
1061
options.
StandardErrorCallback
= (line) => {
1101
options.
StandardErrorCallback
= (line) => {
Projects\DotNetAppHostProject.cs (5)
258
StandardErrorCallback
= buildOutputCollector.AppendError,
306
StandardErrorCallback
= runOutputCollector.AppendError,
406
StandardErrorCallback
= buildOutputCollector.AppendError,
437
StandardErrorCallback
= runOutputCollector.AppendError,
468
StandardErrorCallback
= outputCollector.AppendError,
Projects\DotNetBasedAppHostServerProject.cs (1)
425
StandardErrorCallback
= outputCollector.AppendError
Templating\DotNetTemplateFactory.cs (2)
422
StandardErrorCallback
= templateInstallCollector.AppendOutput,
459
StandardErrorCallback
= newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliExecution.cs (1)
79
_options.
StandardErrorCallback
,
DotNet\DotNetCliRunner.cs (5)
349
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
583
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
954
var originalStderrCallback = options.
StandardErrorCallback
;
1060
var existingStandardErrorCallback = options.
StandardErrorCallback
; // Preserve the existing callback if it exists.
1100
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);