1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
37
_interactionService
= interactionService;
21 references to _interactionService
aspire (21)
Commands\RunCommand.cs (21)
63
var effectiveAppHostProjectFile = await
_interactionService
.ShowStatusAsync("Locating app host project...", async () =>
101
var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, buildOptions, cancellationToken);
105
_interactionService
.DisplayLines(buildOutputCollector.GetLines());
106
_interactionService
.DisplayError($"The project could not be built. For more information run with --debug switch.");
111
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, cancellationToken);
142
var backchannel = await
_interactionService
.ShowStatusAsync(
152
_interactionService
.DisplayMessage("bug", $"Waiting for debugger to attach to app host process");
163
var dashboardUrls = await
_interactionService
.ShowStatusAsync(
167
_interactionService
.DisplayDashboardUrls(dashboardUrls);
248
_interactionService
.DisplayLines(runOutputCollector.GetLines());
249
_interactionService
.DisplayError($"The project could not be run. For more information run with --debug switch.");
264
_interactionService
.DisplayCancellationMessage();
269
_interactionService
.DisplayError("The --project option specified a project that does not exist.");
274
_interactionService
.DisplayError("The --project option was not specified and multiple app host project files were detected.");
279
_interactionService
.DisplayError("The project argument was not specified and no *.csproj files were detected.");
284
return
_interactionService
.DisplayIncompatibleVersionError(
291
_interactionService
.DisplayError($"An error occurred while trusting the certificates: {ex.Message}");
296
_interactionService
.DisplayError($"An error occurred while connecting to the app host. The app host possibly crashed before it was available: {ex.Message}");
297
_interactionService
.DisplayLines(runOutputCollector.GetLines());
302
_interactionService
.DisplayError($"An unexpected error occurred: {ex.Message}");
303
_interactionService
.DisplayLines(runOutputCollector.GetLines());