1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
58_interactionService = interactionService;
23 references to _interactionService
aspire (23)
Commands\RunCommand.cs (23)
81if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, _interactionService, cancellationToken)) 115var startDebugSession = ExtensionHelper.IsExtensionHost(_interactionService, out _, out var extensionBackchannel) && string.Equals(await _interactionService.PromptForSelectionAsync( 121var watch = parseResult.GetValue<bool>("--watch") || (ExtensionHelper.IsExtensionHost(_interactionService, out _, out _) && !startDebugSession); 132if (!ExtensionHelper.IsExtensionHost(_interactionService, out _, out extensionBackchannel) 135var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner, _interactionService, effectiveAppHostProjectFile, buildOptions, cancellationToken); 139_interactionService.DisplayLines(buildOutputCollector.GetLines()); 140_interactionService.DisplayError(InteractionServiceStrings.ProjectCouldNotBeBuilt); 146appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, _telemetry, cancellationToken); 175var backchannel = await _interactionService.ShowStatusAsync(RunCommandStrings.ConnectingToAppHost, async () => 184var dashboardUrls = await _interactionService.ShowStatusAsync(RunCommandStrings.StartingDashboard, async () => 191_interactionService.DisplayError(RunCommandStrings.DashboardFailedToStart); 192_interactionService.DisplayLines(runOutputCollector.GetLines()); 284_interactionService.DisplayCancellationMessage(); 289_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionDoesntExist); 294_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedMultipleAppHostsFound); 299_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedNoCsprojFound); 304return _interactionService.DisplayIncompatibleVersionError( 311_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.CertificateTrustError, ex.Message.EscapeMarkup())); 316_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message.EscapeMarkup())); 317_interactionService.DisplayLines(runOutputCollector.GetLines()); 322_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message.EscapeMarkup())); 323_interactionService.DisplayLines(runOutputCollector.GetLines());