1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
37
_interactionService
= interactionService;
20 references to _interactionService
aspire (20)
Commands\RunCommand.cs (20)
98
var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, buildOptions, cancellationToken);
102
_interactionService
.DisplayLines(buildOutputCollector.GetLines());
103
_interactionService
.DisplayError($"The project could not be built. For more information run with --debug switch.");
108
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, cancellationToken);
139
var backchannel = await
_interactionService
.ShowStatusAsync(
147
_interactionService
.DisplayMessage("bug", $"Waiting for debugger to attach to app host process");
158
var dashboardUrls = await
_interactionService
.ShowStatusAsync(
162
_interactionService
.DisplayDashboardUrls(dashboardUrls);
277
_interactionService
.DisplayLines(runOutputCollector.GetLines());
278
_interactionService
.DisplayError($"The project could not be run. For more information run with --debug switch.");
293
_interactionService
.DisplayCancellationMessage();
298
_interactionService
.DisplayError("The --project option specified a project that does not exist.");
303
_interactionService
.DisplayError("The --project option was not specified and multiple app host project files were detected.");
308
_interactionService
.DisplayError("The project argument was not specified and no *.csproj files were detected.");
313
return
_interactionService
.DisplayIncompatibleVersionError(
320
_interactionService
.DisplayError($"An error occurred while trusting the certificates: {ex.Message}");
325
_interactionService
.DisplayError($"An error occurred while connecting to the app host. The app host possibly crashed before it was available: {ex.Message}");
326
_interactionService
.DisplayLines(runOutputCollector.GetLines());
331
_interactionService
.DisplayError($"An unexpected error occurred: {ex.Message}");
332
_interactionService
.DisplayLines(runOutputCollector.GetLines());