34 references to RunCommandStrings
aspire (33)
Commands\AppHostLauncher.cs (7)
124RunCommandStrings.StartingAppHostInBackground, 280interactionService.DisplayError(RunCommandStrings.FailedToStartAppHost); 290interactionService.DisplayError(RunCommandStrings.TimeoutWaitingForAppHost); 307RunCommandStrings.CheckLogsForDetails, 348interactionService.DisplaySuccess(RunCommandStrings.AppHostStartedSuccessfully); 359ExitCodeConstants.FailedToBuildArtifacts => RunCommandStrings.AppHostFailedToBuild, 360_ => 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\RunCommand.cs (17)
75Description = RunCommandStrings.DetachArgumentDescription 79Description = RunCommandStrings.NoBuildArgumentDescription 98: base("run", RunCommandStrings.Description, features, updateNotifier, executionContext, interactionService, telemetry) 120Description = RunCommandStrings.StartDebugSessionArgumentDescription 150InteractionService.DisplayError(RunCommandStrings.FormatRequiresDetach); 159InteractionService.DisplayError(RunCommandStrings.NoBuildNotSupportedWithWatchMode); 174extensionInteractionService.DisplayConsolePlainText(RunCommandStrings.StartingDebugSessionInExtension); 212InteractionService.DisplayMessage(KnownEmojis.Warning, RunCommandStrings.IsolatedModeRunningInstanceWarning); 255isExtensionHost ? InteractionServiceStrings.BuildingAppHost : RunCommandStrings.ConnectingToAppHost, 263RunCommandStrings.StartingDashboard, 268InteractionService.DisplayError(RunCommandStrings.DashboardFailedToStart); 299var endpointsLocalizedString = RunCommandStrings.Endpoints; 414ctrlCGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost) { Overflow = Overflow.Ellipsis }); 454var appHostLabel = RunCommandStrings.AppHost; 455var dashboardLabel = RunCommandStrings.Dashboard; 456var logsLabel = RunCommandStrings.Logs; 457var pidLabel = RunCommandStrings.ProcessId;
Commands\StartCommand.cs (1)
22Description = RunCommandStrings.NoBuildArgumentDescription
Projects\DotNetAppHostProject.cs (2)
289if (!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)
31System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.RunCommandStrings", typeof(RunCommandStrings).Assembly);
Aspire.Cli.Tests (1)
Commands\RunCommandTests.cs (1)
137Assert.Equal(RunCommandStrings.AppHostFailedToBuild, message);