1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
37_interactionService = interactionService;
21 references to _interactionService
aspire (21)
Commands\RunCommand.cs (21)
63var effectiveAppHostProjectFile = await _interactionService.ShowStatusAsync("Locating app host project...", async () => 101var 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."); 111appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, cancellationToken); 142var backchannel = await _interactionService.ShowStatusAsync( 152_interactionService.DisplayMessage("bug", $"Waiting for debugger to attach to app host process"); 163var 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."); 284return _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());