1 write to _interactionService
aspire (1)
Commands\RunCommand.cs (1)
58
_interactionService
= interactionService;
23 references to _interactionService
aspire (23)
Commands\RunCommand.cs (23)
81
if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller,
_interactionService
, cancellationToken))
115
var startDebugSession = ExtensionHelper.IsExtensionHost(
_interactionService
, out _, out var extensionBackchannel) && string.Equals(await
_interactionService
.PromptForSelectionAsync(
121
var watch = parseResult.GetValue<bool>("--watch") || (ExtensionHelper.IsExtensionHost(
_interactionService
, out _, out _) && !startDebugSession);
132
if (!ExtensionHelper.IsExtensionHost(
_interactionService
, out _, out extensionBackchannel)
135
var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, buildOptions, cancellationToken);
139
_interactionService
.DisplayLines(buildOutputCollector.GetLines());
140
_interactionService
.DisplayError(InteractionServiceStrings.ProjectCouldNotBeBuilt);
146
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, _telemetry, cancellationToken);
175
var backchannel = await
_interactionService
.ShowStatusAsync(RunCommandStrings.ConnectingToAppHost, async () =>
184
var 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);
304
return
_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());