1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
37_interactionService = interactionService;
20 references to _interactionService
aspire (20)
Commands\RunCommand.cs (20)
98var 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."); 108appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, cancellationToken); 139var backchannel = await _interactionService.ShowStatusAsync( 147_interactionService.DisplayMessage("bug", $"Waiting for debugger to attach to app host process"); 158var 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."); 313return _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());