35 references to RunCommandStrings
aspire (34)
Commands\AppHostLauncher.cs (7)
134RunCommandStrings.StartingAppHostInBackground, 289interactionService.DisplayError(RunCommandStrings.FailedToStartAppHost); 299interactionService.DisplayError(RunCommandStrings.TimeoutWaitingForAppHost); 316RunCommandStrings.CheckLogsForDetails, 357interactionService.DisplaySuccess(RunCommandStrings.AppHostStartedSuccessfully); 368ExitCodeConstants.FailedToBuildArtifacts => RunCommandStrings.AppHostFailedToBuild, 369_ => string.Format(CultureInfo.CurrentCulture, RunCommandStrings.AppHostExitedWithCode, childExitCode)
Commands\ExecCommand.cs (4)
145if (!appHostCompatibilityCheck?.IsCompatibleAppHost ?? throw new InvalidOperationException(RunCommandStrings.IsCompatibleAppHostIsNull)) 184RunCommandStrings.StartingAppHost, 246InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath)); 257InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath));
Commands\PipelineCommandBase.cs (1)
103Description = RunCommandStrings.StartDebugSessionArgumentDescription
Commands\RunCommand.cs (17)
76Description = RunCommandStrings.DetachArgumentDescription 80Description = RunCommandStrings.NoBuildArgumentDescription 99: base("run", RunCommandStrings.Description, features, updateNotifier, executionContext, interactionService, telemetry) 121Description = RunCommandStrings.StartDebugSessionArgumentDescription 148InteractionService.DisplayError(RunCommandStrings.FormatRequiresDetach); 157InteractionService.DisplayError(RunCommandStrings.NoBuildNotSupportedWithWatchMode); 172extensionInteractionService.DisplayConsolePlainText(RunCommandStrings.StartingDebugSessionInExtension); 207InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 256RunCommandStrings.ConnectingToAppHost, 264RunCommandStrings.StartingDashboard, 269InteractionService.DisplayError(RunCommandStrings.DashboardFailedToStart); 300var endpointsLocalizedString = RunCommandStrings.Endpoints; 421ctrlCGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost) { Overflow = Overflow.Ellipsis }); 461var appHostLabel = RunCommandStrings.AppHost; 462var dashboardLabel = RunCommandStrings.Dashboard; 463var logsLabel = RunCommandStrings.Logs; 464var pidLabel = RunCommandStrings.ProcessId;
Commands\StartCommand.cs (1)
22Description = RunCommandStrings.NoBuildArgumentDescription
Projects\DotNetAppHostProject.cs (2)
298if (!appHostCompatibilityCheck?.IsCompatibleAppHost ?? throw new InvalidOperationException(RunCommandStrings.IsCompatibleAppHostIsNull)) 602_interactionService.DisplayMessage(KnownEmojis.Key, RunCommandStrings.CopyingUserSecrets);
Projects\RunningInstanceManager.cs (1)
71_interactionService.DisplaySuccess(RunCommandStrings.RunningInstanceStopped);
Resources\RunCommandStrings.Designer.cs (1)
31System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.RunCommandStrings", typeof(RunCommandStrings).Assembly);
Aspire.Cli.Tests (1)
Commands\RunCommandTests.cs (1)
138Assert.Equal(RunCommandStrings.AppHostFailedToBuild, message);