34 references to RunCommandStrings
aspire (33)
Commands\AppHostLauncher.cs (7)
124
RunCommandStrings
.StartingAppHostInBackground,
280
interactionService.DisplayError(
RunCommandStrings
.FailedToStartAppHost);
290
interactionService.DisplayError(
RunCommandStrings
.TimeoutWaitingForAppHost);
307
RunCommandStrings
.CheckLogsForDetails,
348
interactionService.DisplaySuccess(
RunCommandStrings
.AppHostStartedSuccessfully);
359
ExitCodeConstants.FailedToBuildArtifacts =>
RunCommandStrings
.AppHostFailedToBuild,
360
_ => string.Format(CultureInfo.CurrentCulture,
RunCommandStrings
.AppHostExitedWithCode, childExitCode)
Commands\ExecCommand.cs (4)
145
if (!appHostCompatibilityCheck?.IsCompatibleAppHost ?? throw new InvalidOperationException(
RunCommandStrings
.IsCompatibleAppHostIsNull))
184
RunCommandStrings
.StartingAppHost,
246
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
RunCommandStrings
.ProjectCouldNotBeRun, ExecutionContext.LogFilePath));
257
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
RunCommandStrings
.ProjectCouldNotBeRun, ExecutionContext.LogFilePath));
Commands\RunCommand.cs (17)
75
Description =
RunCommandStrings
.DetachArgumentDescription
79
Description =
RunCommandStrings
.NoBuildArgumentDescription
98
: base("run",
RunCommandStrings
.Description, features, updateNotifier, executionContext, interactionService, telemetry)
120
Description =
RunCommandStrings
.StartDebugSessionArgumentDescription
150
InteractionService.DisplayError(
RunCommandStrings
.FormatRequiresDetach);
159
InteractionService.DisplayError(
RunCommandStrings
.NoBuildNotSupportedWithWatchMode);
174
extensionInteractionService.DisplayConsolePlainText(
RunCommandStrings
.StartingDebugSessionInExtension);
212
InteractionService.DisplayMessage(KnownEmojis.Warning,
RunCommandStrings
.IsolatedModeRunningInstanceWarning);
255
isExtensionHost ? InteractionServiceStrings.BuildingAppHost :
RunCommandStrings
.ConnectingToAppHost,
263
RunCommandStrings
.StartingDashboard,
268
InteractionService.DisplayError(
RunCommandStrings
.DashboardFailedToStart);
299
var endpointsLocalizedString =
RunCommandStrings
.Endpoints;
414
ctrlCGrid.AddRow(new Text(string.Empty), new Markup(
RunCommandStrings
.PressCtrlCToStopAppHost) { Overflow = Overflow.Ellipsis });
454
var appHostLabel =
RunCommandStrings
.AppHost;
455
var dashboardLabel =
RunCommandStrings
.Dashboard;
456
var logsLabel =
RunCommandStrings
.Logs;
457
var pidLabel =
RunCommandStrings
.ProcessId;
Commands\StartCommand.cs (1)
22
Description =
RunCommandStrings
.NoBuildArgumentDescription
Projects\DotNetAppHostProject.cs (2)
289
if (!appHostCompatibilityCheck?.IsCompatibleAppHost ?? throw new InvalidOperationException(
RunCommandStrings
.IsCompatibleAppHostIsNull))
589
_interactionService.DisplayMessage(KnownEmojis.Key,
RunCommandStrings
.CopyingUserSecrets);
Projects\RunningInstanceManager.cs (1)
71
_interactionService.DisplaySuccess(
RunCommandStrings
.RunningInstanceStopped);
Resources\RunCommandStrings.Designer.cs (1)
31
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.RunCommandStrings", typeof(
RunCommandStrings
).Assembly);
Aspire.Cli.Tests (1)
Commands\RunCommandTests.cs (1)
137
Assert.Equal(
RunCommandStrings
.AppHostFailedToBuild, message);