1 write to _interactionService
aspire (1)
Commands\PublishCommand.cs (1)
50_interactionService = interactionService;
18 references to _interactionService
aspire (18)
Commands\PublishCommand.cs (18)
95appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, cancellationToken); 108var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner, _interactionService, effectiveAppHostProjectFile, buildOptions, cancellationToken); 112_interactionService.DisplayLines(buildOutputCollector.GetLines()); 113_interactionService.DisplayError("The project could not be built. For more information run with --debug switch."); 120_interactionService.DisplayMessage($"hammer_and_wrench", $"Generating artifacts..."); 147_interactionService.DisplayMessage("bug", $"Waiting for debugger to attach to app host process"); 165_interactionService.DisplaySuccess($"Successfully published artifacts to: {fullyQualifiedOutputPath}"); 169_interactionService.DisplayLines(publishOutputCollector.GetLines()); 170_interactionService.DisplayError($"Publishing artifacts failed with exit code {exitCode}. For more information run with --debug switch."); 175_interactionService.DisplayError("The operation was canceled."); 180_interactionService.DisplayError("The specified project file is not an Aspire app host project."); 185_interactionService.DisplayError("The --project option specified a project that does not exist."); 190_interactionService.DisplayError("The --project option was not specified and multiple app host project files were detected."); 195_interactionService.DisplayError("The project argument was not specified and no *.csproj files were detected."); 200return _interactionService.DisplayIncompatibleVersionError( 207_interactionService.DisplayError($"An error occurred while connecting to the app host. The app host possibly crashed before it was available: {ex.Message}"); 208_interactionService.DisplayLines(publishOutputCollector.GetLines()); 213_interactionService.DisplayError($"An unexpected error occurred: {ex.Message}");