349 references to CliCommandStrings
dotnet-aot (349)
Generated\361d1da7f942c932\Microsoft.DotNet.Cli.Commands.CliCommandStrings.Designer.cs (1)
1832typeof(@CliCommandStrings).Assembly);
parent\dotnet\CliUsage.cs (45)
13$@"{CliCommandStrings.Usage}: dotnet [runtime-options] [path-to-application] [arguments] 15{CliCommandStrings.ExecutionUsageDescription} 18--additionalprobingpath <path> {CliCommandStrings.AdditionalProbingPathDefinition} 19--additional-deps <path> {CliCommandStrings.AdditionalDeps} 20--depsfile {CliCommandStrings.DepsFileDefinition} 21--fx-version <version> {CliCommandStrings.FxVersionDefinition} 22--roll-forward <setting> {CliCommandStrings.RollForwardDefinition} 23--runtimeconfig {CliCommandStrings.RuntimeConfigDefinition} 26{CliCommandStrings.PathToApplicationDefinition} 28{CliCommandStrings.Usage}: dotnet [sdk-options] [command] [command-options] [arguments] 30{CliCommandStrings.SDKCommandUsageDescription} 34-h|--help {CliCommandStrings.SDKOptionsHelpDefinition} 35--info {CliCommandStrings.SDKInfoCommandDefinition} 36--list-runtimes {CliCommandStrings.SDKListRuntimesCommandDefinition} 37--list-sdks {CliCommandStrings.SDKListSdksCommandDefinition} 38--version {CliCommandStrings.SDKVersionCommandDefinition} 40{CliCommandStrings.Commands}: 41build {CliCommandStrings.BuildDefinition} 42build-server {CliCommandStrings.BuildServerDefinition} 43clean {CliCommandStrings.CleanDefinition} 44format {CliCommandStrings.FormatDefinition} 45help {CliCommandStrings.HelpDefinition} 46msbuild {CliCommandStrings.MsBuildDefinition} 47new {CliCommandStrings.NewDefinition} 48nuget {CliCommandStrings.NugetDefinition} 49pack {CliCommandStrings.PackDefinition} 50package {CliCommandStrings.PackageDefinition} 51publish {CliCommandStrings.PublishDefinition} 52reference {CliCommandStrings.ReferenceDefinition} 53restore {CliCommandStrings.RestoreDefinition} 54run {CliCommandStrings.RunDefinition} 55sdk {CliCommandStrings.SdkDefinition} 56solution {CliCommandStrings.SlnDefinition} 57store {CliCommandStrings.StoreDefinition} 58test {CliCommandStrings.TestDefinition} 59tool {CliCommandStrings.ToolDefinition} 60vstest {CliCommandStrings.VsTestDefinition} 61workload {CliCommandStrings.WorkloadDefinition} 63{CliCommandStrings.AdditionalTools} 64dev-certs {CliCommandStrings.DevCertsDefinition} 65fsi {CliCommandStrings.FsiDefinition} 66user-jwts {CliCommandStrings.UserJwtsDefinition} 67user-secrets {CliCommandStrings.UserSecretsDefinition} 68watch {CliCommandStrings.WatchDefinition} 70{CliCommandStrings.RunDotnetCommandHelpForMore}";
parent\dotnet\Commands\Run\AotRunCommand.cs (4)
191Reporter.Output.WriteLine(CliCommandStrings.RunCommandBuilding); 285CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, 389throw new GracefulException(CliCommandStrings.RunCommandExceptionNoProjects, currentDirectory, "--project"); 420throw new GracefulException(CliCommandStrings.RunCommandExceptionNoProjects, currentDirectory, "--project");
parent\dotnet\Commands\Run\CommonRunHelpers.cs (2)
40? throw new GracefulException(CliCommandStrings.RunCommandExceptionMultipleProjects, directory) 169report(string.Format(CliCommandStrings.UsingLaunchSettingsFromMessage, launchSettingsPath), true);
parent\dotnet\Commands\Sdk\Check\ProductCollectionProvider.cs (1)
31throw new GracefulException(string.Format(CliCommandStrings.ReleasesLibraryFailed, e.Message));
parent\dotnet\Commands\Sdk\Check\RuntimeOutputWriter.cs (9)
21_reporter.WriteLine(CliCommandStrings.RuntimeSectionHeader); 24table.AddColumn(CliCommandStrings.NameColumnHeader, runtime => runtime.Name.ToString()); 25table.AddColumn(CliCommandStrings.VersionColumnHeader, runtime => runtime.Version.ToString()); 26table.AddColumn(CliCommandStrings.StatusColumnHeader, runtime => GetRuntimeStatusMessage(runtime)); 40return string.Format(CliCommandStrings.OutOfSupportMessage, $"{runtime.Version.Major}.{runtime.Version.Minor}"); 44return string.Format(CliCommandStrings.MaintenanceMessage, $"{runtime.Version.Major}.{runtime.Version.Minor}"); 48return string.Format(CliCommandStrings.NewPatchAvailableMessage, NewestRuntimePatchVersion(runtime)); 52return CliCommandStrings.BundleUpToDateMessage; 56return CliCommandStrings.VersionCheckFailure;
parent\dotnet\Commands\Sdk\Check\SdkCheckCommand.cs (3)
66_reporter.WriteLine(CliCommandStrings.CommandFooter); 74throw new GracefulException([CliCommandStrings.RuntimePropertyNotFound], [], isUserError: false); 77throw new GracefulException([CliCommandStrings.HostFxrCouldNotBeLoaded], [hostFxrNotFoundException.Message], isUserError: false);
parent\dotnet\Commands\Sdk\Check\SdkOutputWriter.cs (9)
21_reporter.WriteLine(CliCommandStrings.SdkSectionHeader); 24table.AddColumn(CliCommandStrings.VersionColumnHeader, sdk => sdk.Version.ToString()); 25table.AddColumn(CliCommandStrings.StatusColumnHeader, sdk => GetSdkStatusMessage(sdk)); 33_reporter.WriteLine(string.Format(CliCommandStrings.NewFeatureBandMessage, NewestFeatureBandAvailable())); 44return string.Format(CliCommandStrings.OutOfSupportMessage, $"{sdk.Version.Major}.{sdk.Version.Minor}"); 48return string.Format(CliCommandStrings.MaintenanceMessage, $"{sdk.Version.Major}.{sdk.Version.Minor}"); 52return string.Format(CliCommandStrings.NewPatchAvailableMessage, NewestSdkPatchVersion(sdk)); 56return CliCommandStrings.BundleUpToDateMessage; 60return CliCommandStrings.VersionCheckFailure;
parent\dotnet\Commands\Solution\List\SolutionListCommand.cs (2)
68string header = _displaySolutionFolders ? CliCommandStrings.SolutionFolderHeader : CliCommandStrings.ProjectsHeader;
parent\dotnet\Commands\Solution\Migrate\SolutionMigrateCommand.cs (2)
31throw new GracefulException(CliCommandStrings.CannotMigrateSlnx); 49_reporter.WriteLine(CliCommandStrings.SlnxGenerated, slnxFilePath);
parent\dotnet\Commands\Solution\SolutionArgumentValidator.cs (1)
32throw new GracefulException(CliCommandStrings.SolutionFolderAndInRootMutuallyExclusive);
parent\dotnet\Commands\Test\MTP\ArtifactPostProcessingManager.cs (6)
122CliCommandStrings.ArtifactPostProcessingUnexpectedFailure, 162output.WriteInformationMessage(CliCommandStrings.ArtifactPostProcessingStarted); 221invocation.RecordFailure(CliCommandStrings.ArtifactPostProcessingConnectionFailed); 235CliCommandStrings.ArtifactPostProcessingFailed, 243CliCommandStrings.ArtifactPostProcessingProcessFailed, 257CliCommandStrings.ArtifactPostProcessingFailed,
parent\dotnet\Commands\Test\MTP\InvocationLifetimeCoordinator.cs (14)
255Fail(AppendDetails(string.Format(CliCommandStrings.InvocationLifetimeSetupFailed, _ownerName), message.ErrorMessage), abortOwner: false); 313Fail(string.Format(CliCommandStrings.InvocationLifetimeOwnerControlLost, _ownerName), abortOwner: false, abortSiblings: false); 328_reportError(string.Format(CliCommandStrings.InvocationLifetimeSiblingProtocolTooOld, sibling.TargetPath)); 360Fail(string.Format(CliCommandStrings.InvocationLifetimeOwnerExitedBeforeSetup, _ownerName), abortOwner: false); 366Fail(string.Format(CliCommandStrings.InvocationLifetimeOwnerExitedBeforeCleanup, _ownerName), abortOwner: false); 474_reportError(AppendDetails(string.Format(CliCommandStrings.InvocationLifetimeCleanupFailed, _ownerName), message.ErrorMessage)); 480_reportError(string.Format(CliCommandStrings.InvocationLifetimeOwnerExitedBeforeCleanup, _ownerName)); 485CliCommandStrings.InvocationLifetimeCleanupTimedOut, 499CliCommandStrings.InvocationLifetimeOwnerShutdownTimedOut, 511_reportError(string.Format(CliCommandStrings.InvocationLifetimeOwnerUnexpectedExitCode, _ownerName, exitCode)); 520_reportError(string.Format(CliCommandStrings.InvocationLifetimeOwnerExitedBeforeCleanup, _ownerName)); 549CliCommandStrings.InvocationLifetimeOwnerHandshakeTimedOut, 557CliCommandStrings.InvocationLifetimeSetupTimedOut, 582Fail(string.Format(CliCommandStrings.InvocationLifetimeUnexpectedMessage, _ownerName, messageName), abortOwner: true);
parent\dotnet\Commands\Test\MTP\IPC\NamedPipeBase.cs (2)
32CliCommandStrings.NoSerializerRegisteredWithIdErrorMessage, 43CliCommandStrings.NoSerializerRegisteredWithTypeErrorMessage,
parent\dotnet\Commands\Test\MTP\IPC\NamedPipeServer.cs (1)
346throw new InvalidOperationException(CliCommandStrings.InternalLoopAsyncDidNotExitSuccessfullyErrorMessage);
parent\dotnet\Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (6)
388CliCommandStrings.CmdAffectedTestsFeatureDisabled, 394throw new GracefulException(CliCommandStrings.CmdAffectedTestsOptionsMutuallyExclusive); 399throw new GracefulException(CliCommandStrings.CmdCollectTestMapCannotRunModulesInParallel); 405throw new GracefulException(CliCommandStrings.CmdCollectTestMapCannotRequireMinimumTests); 448throw new GracefulException(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent); 461throw new GracefulException(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
parent\dotnet\Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.Help.cs (13)
23Console.WriteLine(CliCommandStrings.HelpWaitingForOptionsAndExtensions); 54context.Output.WriteLine(CliCommandStrings.CmdHelpUsageTitle); 76yield return FormatHelpOption(CliCommandStrings.HelpOptions); 81yield return FormatHelpOption(CliCommandStrings.HelpPlatformOptions); 86yield return FormatHelpOption(CliCommandStrings.HelpExtensionOptions); 215WriteOtherOptionsSection(context, CliCommandStrings.HelpPlatformOptions, builtInOptions); 221WriteOtherOptionsSection(context, CliCommandStrings.HelpExtensionOptions, nonBuiltInOptions); 262Utils.Reporter.Output.WriteLine((groupedModules.Key ? CliCommandStrings.HelpUnavailableOptions : CliCommandStrings.HelpUnavailableExtensionOptions).Yellow()); 282? (missingOptions.Length == 1 ? CliCommandStrings.HelpModuleIsMissingTheOptionBelow : CliCommandStrings.HelpModuleIsMissingTheOptionsBelow) 283: (missingOptions.Length == 1 ? CliCommandStrings.HelpModulesAreMissingTheOptionBelow : CliCommandStrings.HelpModulesAreMissingTheOptionsBelow);
parent\dotnet\Commands\Test\MTP\Terminal\AnsiTerminal.cs (1)
155throw new InvalidOperationException(CliCommandStrings.ConsoleIsAlreadyInBatchingMode);
parent\dotnet\Commands\Test\MTP\Terminal\SilenceDrivenHeartbeatRenderer.cs (5)
107string line = string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TerminalProgressHeartbeat, completed, failed, activeModules); 110? CliCommandStrings.TerminalProgressHeartbeatNoCompletionSuffix 112CultureInfo.CurrentCulture, CliCommandStrings.TerminalProgressHeartbeatLastCompletionSuffix, 116line += string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TerminalProgressHeartbeatActiveSuffix, activeTest); 190CultureInfo.CurrentCulture, CliCommandStrings.TerminalProgressSlowTest,
parent\dotnet\Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
162throw new InvalidOperationException(CliCommandStrings.ConsoleIsAlreadyInBatchingMode);
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.Collection.cs (11)
30WriteInformationMessage(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestMapCollectionStarted, moduleCount)); 85CultureInfo.CurrentCulture, CliCommandStrings.TestMapCollectionProgress, 87_collectionActiveModule ?? CliCommandStrings.TestMapCollectionWaiting)); 106? CliCommandStrings.TestMapCollectionAborted 108? CliCommandStrings.TestMapCollectionCompleted 109: CliCommandStrings.TestMapCollectionFailed); 112CultureInfo.CurrentCulture, CliCommandStrings.TestMapCollectionModules, 114terminal.AppendLine(CliCommandStrings.TestMapCollectionNoTestVerdict); 115terminal.Append($"{SingleIndentation}{CliCommandStrings.DurationColon} "); 148CultureInfo.CurrentCulture, CliCommandStrings.ArtifactReportingDegraded, 162CultureInfo.CurrentCulture, CliCommandStrings.IncompleteLiveTestResults,
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.Coverage.cs (21)
84WriteWarningMessage(CliCommandStrings.InvalidCoverageSummary); 110WriteWarningMessage(CliCommandStrings.InvalidCoverageSummary); 227rows.AddRange(completeMerges[0].Summaries.Select(summary => (CliCommandStrings.CoverageScopeOverall, summary))); 235? CliCommandStrings.CoverageScopeOverall 243string scope = string.Format(CultureInfo.CurrentCulture, CliCommandStrings.CoverageMergedArtifact, summary.Path); 258terminal.Append($"##[group]{CliCommandStrings.CodeCoverageSummary}"); 263if (scope == CliCommandStrings.CoverageScopeOverall && 276terminal.AppendLine($"{SingleIndentation}{CliCommandStrings.CodeCoverageSummary}"); 285CultureInfo.CurrentCulture, CliCommandStrings.CoverageMetricWithProducer, 301: CliCommandStrings.CoverageNoData; 377CoverageMetric.Line => CliCommandStrings.CoverageMetricLine, 378CoverageMetric.Statement => CliCommandStrings.CoverageMetricStatement, 379CoverageMetric.Branch => CliCommandStrings.CoverageMetricBranch, 380CoverageMetric.Method => CliCommandStrings.CoverageMetricMethod, 381CoverageMetric.Function => CliCommandStrings.CoverageMetricFunction, 382CoverageMetric.Block => CliCommandStrings.CoverageMetricBlock, 383CoverageMetric.Instruction => CliCommandStrings.CoverageMetricInstruction, 384CoverageMetric.Region => CliCommandStrings.CoverageMetricRegion, 385CoverageMetric.Class => CliCommandStrings.CoverageMetricClass, 386CoverageMetric.Condition => CliCommandStrings.CoverageMetricCondition, 387CoverageMetric.Complexity => CliCommandStrings.CoverageMetricComplexity,
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.cs (89)
213terminal.Append(CliCommandStrings.SkippedLowercase); 216terminal.Append(CliCommandStrings.NoAffectedTestsSelected); 221terminal.AppendLine(CliCommandStrings.NoAffectedTestsSelected); 283terminal.Append($"({string.Format(CliCommandStrings.Try, currentAttemptNumber)}) "); 287terminal.Append(_isDiscovery ? CliCommandStrings.DiscoveringTestsFrom : CliCommandStrings.RunningTestsFrom); 459terminal.Append($"##[group]{CliCommandStrings.TestRunSummary}"); 465terminal.Append($" {passed} {CliCommandStrings.PassedLowercase}, {failed} {CliCommandStrings.FailedLowercase}"); 469terminal.Append($"{(hasModuleTotals ? "," : string.Empty)} {unselected.Length} {CliCommandStrings.SkippedLowercase} ({CliCommandStrings.NoAffectedTestsSelected})"); 498terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, "##[group]" + CliCommandStrings.ArtifactCount, artifactCount)); 525string heading = artifactGroup.Key ? CliCommandStrings.OutOfProcessArtifactsProduced : CliCommandStrings.InProcessArtifactsProduced; 533terminal.Append(CliCommandStrings.ForTest); 609string errorText = $"{SingleIndentation}{CliCommandStrings.ErrorColon} {error}"; 610string totalText = $"{SingleIndentation}{CliCommandStrings.TotalColon} {total}"; 611string failedText = $"{SingleIndentation}{CliCommandStrings.FailedColon} {failed}"; 612string passedText = $"{SingleIndentation}{CliCommandStrings.SucceededColon} {passed}"; 613string skippedText = $"{SingleIndentation}{CliCommandStrings.SkippedColon} {skipped}"; 614string durationText = $"{SingleIndentation}{CliCommandStrings.DurationColon} "; 677terminal.Append(CliCommandStrings.TestRunSummary); 683? CliCommandStrings.ZeroTestsRan 684: string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed)); 688terminal.Append(CliCommandStrings.Aborted); 692terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 696terminal.Append(CliCommandStrings.ZeroTestsRan); 700terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed)); 750terminal.AppendLine($"{SingleIndentation}{string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyLowercase, flakyTests)}"); 757terminal.Append($"{SingleIndentation}{CliCommandStrings.RetriedColon} "); 758terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.RetriedTestsAndRuns, retriedTests, retriedExecutions)); 791terminal.AppendLine(CliCommandStrings.FlakyTests); 817terminal.AppendLine(CliCommandStrings.FlakyTests); 830terminal.Append(CliCommandStrings.FlakyTransition); 832terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FlakyAttempts, attempts)); 860terminal.AppendLine(CliCommandStrings.SlowestTests); 888terminal.AppendLine(CliCommandStrings.SlowestTests); 918terminal.AppendLine(CliCommandStrings.HandshakeFailuresHeader); 949isRun ? CliCommandStrings.TestRunExitCode : CliCommandStrings.TestDiscoveryExitCode, 957ExitCode.GenericFailure => CliCommandStrings.ExitCodeGenericFailureDescription, 958ExitCode.AtLeastOneTestFailed => CliCommandStrings.ExitCodeAtLeastOneTestFailedDescription, 959ExitCode.TestSessionAborted => CliCommandStrings.ExitCodeTestSessionAbortedDescription, 960ExitCode.InvalidPlatformSetup => CliCommandStrings.ExitCodeInvalidPlatformSetupDescription, 961ExitCode.InvalidCommandLine => CliCommandStrings.ExitCodeInvalidCommandLineDescription, 962ExitCode.TestHostProcessExitedNonGracefully => CliCommandStrings.ExitCodeTestHostProcessExitedNonGracefullyDescription, 963ExitCode.ZeroTests => CliCommandStrings.ExitCodeZeroTestsDescription, 964ExitCode.MinimumExpectedTestsPolicyViolation => CliCommandStrings.ExitCodeMinimumExpectedTestsPolicyViolationDescription, 965ExitCode.TestAdapterTestSessionFailure => CliCommandStrings.ExitCodeTestAdapterTestSessionFailureDescription, 966ExitCode.DependentProcessExited => CliCommandStrings.ExitCodeDependentProcessExitedDescription, 967ExitCode.IncompatibleProtocolVersion => CliCommandStrings.ExitCodeIncompatibleProtocolVersionDescription, 968ExitCode.TestExecutionStoppedForMaxFailedTests => CliCommandStrings.ExitCodeTestExecutionStoppedForMaxFailedTestsDescription, 969ExitCode.CoverageThresholdFailed => CliCommandStrings.ExitCodeCoverageThresholdFailedDescription, 970ExitCode.TestExecutionStoppedAtDeadline => CliCommandStrings.ExitCodeTestExecutionStoppedAtDeadlineDescription, 971_ => CliCommandStrings.ExitCodeUnknownDescription, 982terminal.Append(_options.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan); 989? string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FailedWithErrors, state.FailedTests) 990: CliCommandStrings.FailedLowercase; 997terminal.Append(CliCommandStrings.PassedLowercase); 1119TestOutcome.Fail or TestOutcome.Error => CliCommandStrings.FailedLowercase, 1120TestOutcome.Skipped => CliCommandStrings.SkippedLowercase, 1121TestOutcome.Canceled or TestOutcome.Timeout => $"{CliCommandStrings.FailedLowercase} ({CliCommandStrings.CancelledLowercase})", 1122TestOutcome.Passed => CliCommandStrings.PassedLowercase, 1136terminal.Append($" ({string.Format(CliCommandStrings.Try, attempt)})"); 1159terminal.Append(CliCommandStrings.FromFile); 1231terminal.AppendLine(CliCommandStrings.Expected); 1234terminal.AppendLine(CliCommandStrings.Actual); 1269terminal.AppendLine(CliCommandStrings.StandardOutput); 1276terminal.AppendLine(CliCommandStrings.StandardError); 1362terminal.Append(CliCommandStrings.StackFrameAt); 1377terminal.Append(CliCommandStrings.StackFrameIn); 1520terminal.Append(_options.CollectTestMap ? CliCommandStrings.TestMapCollectionFailed : CliCommandStrings.ZeroTestsRan); 1529terminal.Append(CliCommandStrings.ExitCode); 1532AppendOutputWhenPresent(CliCommandStrings.StandardOutput, TruncateOutputForSummary(outputData)); 1533AppendOutputWhenPresent(CliCommandStrings.StandardError, errorData); 1574builder.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestApplicationOutputTruncated, omitted)); 1621AppendCount(state.PassedTests, CliCommandStrings.PassedLowercase, TerminalColor.DarkGreen); 1623AppendCount(state.FailedTests, CliCommandStrings.FailedLowercase, TerminalColor.DarkRed); 1625AppendCount(state.SkippedTests, CliCommandStrings.SkippedLowercase, TerminalColor.DarkYellow); 1629terminal.Append(CliCommandStrings.RetriedColon); 1853terminal.AppendLine(CliCommandStrings.CancellingTestSession); 1854terminal.AppendLine(CliCommandStrings.PressCtrlCAgainToForceExit); 1901terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, discoveredTestNames.Count)); 1934terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestDiscoverySummarySingular, totalTests)); 1938terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestDiscoverySummary, totalTests, assemblies.Count)); 1946terminal.Append(CliCommandStrings.Aborted);
parent\dotnet\Commands\Test\MTP\Terminal\TerminalTestReporter.ErroredAssemblies.cs (1)
39terminal.AppendLine(CliCommandStrings.ErroredAssembliesHeader);
parent\dotnet\Commands\Test\MTP\Terminal\TestFrameworkDisplay.cs (1)
36string runtime = string.Format(CultureInfo.CurrentCulture, CliCommandStrings.RuntimeFramework, runtimeFramework);
parent\dotnet\Commands\Test\MTP\Terminal\TestNodeResultsState.cs (2)
98_cachedFullTestsText = string.Format(culture, CliCommandStrings.ActiveTestsRunning_FullTestsCount, count); 115_cachedMoreTestsText = $"... {string.Format(culture, CliCommandStrings.ActiveTestsRunning_MoreTestsCount, count)}";
parent\dotnet\Commands\Test\MTP\TestApplication.cs (9)
108throw new InvalidOperationException(CliCommandStrings.RunAsyncCalledMoreThanOnce); 240throw new InvalidOperationException(CliCommandStrings.MissingTestSessionEnd); 861throw new NotSupportedException(string.Format(CliCommandStrings.CmdUnsupportedMessageRequestTypeException, request.GetType())); 975Reporter.Error.WriteLine(string.Format(CliCommandStrings.InvocationLifetimeSiblingProtocolTooOld, Module.TargetPath).Red()); 1004throw new InvalidOperationException(CliCommandStrings.DotnetTestDuplicateHandshakeOnConnection); 1115throw new NotSupportedException(string.Format(CliCommandStrings.CmdUnsupportedMessageRequestTypeException, request.GetType())); 1290throw new InvalidOperationException(CliCommandStrings.UnexpectedHelpMessage); 1488messageBuilder = new StringBuilder(CliCommandStrings.DotnetTestPipeFailureHasHandshake); 1497messageBuilder = new StringBuilder(CliCommandStrings.DotnetTestPipeFailureWithoutHandshake);
parent\dotnet\Commands\Test\MTP\TestApplicationActionQueue.cs (6)
90Reporter.Output.WriteLine(CliCommandStrings.InvocationLifetimeNoBuild.Yellow()); 99Reporter.Output.WriteLine(CliCommandStrings.InvocationLifetimeNoDependencies.Yellow()); 110Reporter.Output.WriteLine(CliCommandStrings.InvocationLifetimeOwnerAmbiguous.Yellow()); 115CliCommandStrings.InvocationLifetimeOwnerUnsupportedTransport, 121CliCommandStrings.InvocationLifetimeUnsupportedParticipant, 264Reporter.Error.WriteLine(string.Format(CliCommandStrings.ErrorRunningTestModule, module.RunProperties?.Command, module.RunProperties?.Arguments, exAsString));
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (36)
79? string.Format(CliCommandStrings.DotnetTestIncompatibleHandshakeVersion, supportedProtocolVersions, ProtocolConstants.SupportedVersions) 80: string.Format(CliCommandStrings.DotnetTestMissingHandshakeProtocolVersions, ProtocolConstants.SupportedVersions); 107CliCommandStrings.MismatchingHandshakeHostType, 129ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 181ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeExecutionMode, executionMode, expectedExecutionMode)); 293CliCommandStrings.DotnetTestMissingRequiredMessageProperty, 304CliCommandStrings.DotnetTestMissingRequiredMessageProperty, 342throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(DiscoveredTestMessages))); 347throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(DiscoveredTestMessages))); 354throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutTestHostHandshake, nameof(DiscoveredTestMessages))); 365throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 390throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestResultMessages))); 395throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestResultMessages))); 400throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutTestHostHandshake, nameof(TestResultMessages))); 411throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 461throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestInProgressMessages))); 466throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestInProgressMessages))); 471throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutTestHostHandshake, nameof(TestInProgressMessages))); 482throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 510throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(FileArtifactMessages))); 515throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(FileArtifactMessages))); 522throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutTestHostHandshake, nameof(FileArtifactMessages))); 533throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 579throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(CoverageSummaryMessages))); 584throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(CoverageSummaryMessages))); 589throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutTestHostHandshake, nameof(CoverageSummaryMessages))); 597CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(CoverageSummaryMessages), _handshakeInfo.Value.ExecutionId)); 602_output.WriteWarningMessage(CliCommandStrings.UnnegotiatedCoverageSummary); 617throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestSessionEvent))); 622throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestSessionEvent))); 633throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 639CliCommandStrings.DotnetTestMissingRequiredMessageProperty, 659throw new InvalidOperationException(CliCommandStrings.UnexpectedTestSessionEnd); 666throw new InvalidOperationException(string.Format(CliCommandStrings.UnknownSessionEventType, sessionEvent.SessionType)); 811WriteModuleMessage(CliCommandStrings.TestApplicationOutputStreamTimeout); 843_artifactPostProcessingInvocation?.RecordFailure(CliCommandStrings.ArtifactPostProcessingMissingHandshake);
parent\dotnet\Commands\Test\MTP\TestModulesFilterHandler.cs (2)
48Reporter.Output.WriteLine(string.Format(CliCommandStrings.CmdNonExistentRootDirectoryErrorDescription, _testModulesRoot).Yellow()); 55Reporter.Output.WriteLine(string.Format(CliCommandStrings.CmdNoTestModulesErrorDescription, _testModules, _testModulesRoot).Yellow());
parent\dotnet\Commands\Tool\Common\ToolManifestFinderExtensions.cs (2)
32throw new GracefulException([e.Message, CliCommandStrings.ToolCommonNoManifestGuide], verboseMessages: [e.VerboseMessage], isUserError: false); 42CliCommandStrings.SamePackageIdInOtherManifestFile,
parent\dotnet\Commands\Tool\List\ToolListLocalCommand.cs (4)
66CliCommandStrings.ToolListPackageIdColumn, 69CliCommandStrings.ToolListVersionColumn, 72CliCommandStrings.ToolListCommandsColumn, 75CliCommandStrings.ManifestFileColumn,
parent\dotnet\Commands\Tool\Run\ToolRunCommand.cs (1)
51throw new GracefulException([string.Format(CliCommandStrings.CannotFindCommandName, toolCommandName)], isUserError: false);
parent\dotnet\Commands\Tool\Search\SearchResultPrinter.cs (18)
17_reporter.WriteLine($"{CliCommandStrings.SourceArgumentName}: {source.Source}".Bold()); 22_errorReporter.WriteLine($"{CliCommandStrings.SourceArgumentName}: {source.Source}".Bold()); 33_errorReporter.WriteLine(CliCommandStrings.ToolSearchNoSourcesConfigured); 40_reporter.WriteLine(CliCommandStrings.NoResult); 48CliCommandStrings.PackageId, 51CliCommandStrings.LatestVersion, 54CliCommandStrings.Authors, 57CliCommandStrings.Downloads, 60CliCommandStrings.Verified, 71_reporter.WriteLine($"{CliCommandStrings.LatestVersion}: ".Bold() + p.LatestVersion); 74_reporter.WriteLine($"{CliCommandStrings.Authors}: ".Bold() + string.Join(", ", p.Authors)); 79_reporter.WriteLine($"{CliCommandStrings.Tags}: ".Bold() + string.Join(", ", p.Tags)); 82_reporter.WriteLine($"{CliCommandStrings.Downloads}: ".Bold() + p.TotalDownloads); 85_reporter.WriteLine($"{CliCommandStrings.Verified}: ".Bold() + p.Verified.ToString()); 89_reporter.WriteLine($"{CliCommandStrings.Summary}: ".Bold() + p.Summary); 94_reporter.WriteLine($"{CliCommandStrings.Description}: ".Bold() + p.Description); 99_reporter.WriteLine($"{CliCommandStrings.Versions}: ".Bold()); 103$"\t{version.Version}" + $" {CliCommandStrings.Downloads}: ".Bold() + version.Downloads);
parent\dotnet\Commands\Tool\Uninstall\ToolUninstallLocalCommand.cs (2)
48throw new GracefulException([string.Format(CliCommandStrings.NoManifestFileContainPackageId, _packageId)], isUserError: false); 62CliCommandStrings.UninstallLocalToolSucceeded,
parent\dotnet\Commands\Workload\Install\WorkloadAdvertisingManifestUpdater.cs (3)
251_reporter.WriteLine(CliCommandStrings.AdManifestUpdated, manifestId); 260_reporter.WriteLine(CliCommandStrings.FailedAdManifestUpdate, manifestId, e.Message); 306_reporter.WriteLine(CliCommandStrings.AdManifestPackageDoesNotExist, manifest.Id);
parent\dotnet\Commands\Workload\Install\WorkloadManifestUpdater.cs (2)
58throw new InvalidOperationException(CliCommandStrings.OSDoesNotSupportMsi); 109Console.WriteLine(CliCommandStrings.WorkloadInstallWorkloadUpdatesAvailable);
parent\dotnet\Commands\Workload\WorkloadInfoHelper.cs (10)
157return versionInfo.Version + (versionInfo.IsInstalled ? string.Empty : ' ' + CliCommandStrings.WorkloadVersionNotInstalledShort); 169? CliCommandStrings.WorkloadManifestInstallationConfigurationWorkloadSets 170: CliCommandStrings.WorkloadManifestInstallationConfigurationLooseManifests; 175reporter.WriteLine(indent + string.Format(CliCommandStrings.WorkloadSetFromGlobalJsonNotInstalled, versionInfo.Version, versionInfo.GlobalJsonPath)); 179reporter.WriteLine(indent + CliCommandStrings.ShouldInstallAWorkloadSet); 199reporter.WriteLine(CliCommandStrings.NoWorkloadsInstalledInfoWarning); 215reporter.Write($"{separator}{CliCommandStrings.WorkloadSourceColumn}:"); 218reporter.Write($"{separator}{CliCommandStrings.WorkloadManifestVersionColumn}:"); 221reporter.Write($"{separator}{CliCommandStrings.WorkloadManifestPathColumn}:"); 224reporter.Write($"{separator}{CliCommandStrings.WorkloadInstallTypeColumn}:");
parent\dotnet\NugetSearch\NugetToolSearchApiRequest.cs (1)
54string.Format(CliCommandStrings.ToolSearchSourceDoesNotSupportPackageTypeFiltering, source.Source));