1 write to _interactionService
aspire (1)
Commands\PublishCommand.cs (1)
30
_interactionService
= interactionService;
15 references to _interactionService
aspire (15)
Commands\PublishCommand.cs (15)
71
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, cancellationToken);
78
var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, cancellationToken);
82
_interactionService
.DisplayError("The project could not be built. For more information run with --debug switch.");
90
var publishersResult = await
_interactionService
.ShowStatusAsync<(int ExitCode, string[] Publishers)>(
119
_interactionService
.DisplayError($"The publisher inspection failed with exit code {publishersResult.ExitCode}. For more information run with --debug switch.");
126
_interactionService
.DisplayError($"No publishers were found.");
134
_interactionService
.DisplayMessage("warning", $"[yellow bold]The specified publisher '{publisher}' was not found.[/]");
137
publisher = await
_interactionService
.PromptForSelectionAsync(
145
_interactionService
.DisplayMessage($"hammer_and_wrench", $"Generating artifacts for '{publisher}' publisher...");
247
_interactionService
.DisplayError($"Publishing artifacts failed with exit code {exitCode}. For more information run with --debug switch.");
252
_interactionService
.DisplaySuccess($"Successfully published artifacts to: {fullyQualifiedOutputPath}");
258
_interactionService
.DisplayError("The --project option specified a project that does not exist.");
263
_interactionService
.DisplayError("The --project option was not specified and multiple *.csproj files were detected.");
268
_interactionService
.DisplayError("The project argument was not specified and no *.csproj files were detected.");
273
return
_interactionService
.DisplayIncompatibleVersionError(