401 references to Strings
NuGet.CommandLine.XPlat (401)
Commands\CommonOptions.cs (1)
18Description = Strings.Verbosity_Description
Commands\ConfigCommands\ConfigCommand.cs (13)
26Description = Strings.ConfigSetConfigKeyDescription, 32Description = Strings.ConfigUnsetConfigKeyDescription, 38Description = Strings.ConfigSetConfigValueDescription, 44Description = Strings.ConfigGetAllOrConfigKeyDescription 50Description = Strings.ConfigPathsWorkingDirectoryDescription 56Description = Strings.ConfigGetShowPathDescription, 62Description = Strings.Option_ConfigFile, 85configCmd.Description = Strings.Config_Description; 91var ConfigCmd = new DocumentedCommand(name: "config", description: Strings.Config_Description, "https://aka.ms/dotnet/nuget/config"); 97var PathsCmd = new DocumentedCommand(name: "paths", description: Strings.ConfigPathsCommandDescription, "https://aka.ms/dotnet/nuget/config/paths"); 105var GetCmd = new DocumentedCommand(name: "get", description: Strings.ConfigGetCommandDescription, "https://aka.ms/dotnet/nuget/config/get"); 113var SetCmd = new DocumentedCommand(name: "set", description: Strings.ConfigSetCommandDescription, "https://aka.ms/dotnet/nuget/config/set"); 121var UnsetCmd = new DocumentedCommand(name: "unset", description: Strings.ConfigUnsetCommandDescription, "https://aka.ms/dotnet/nuget/config/unset");
Commands\ConfigCommands\ConfigRunners.cs (4)
86logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.ConfigCommandKeyNotFound, args.AllOrConfigKey)); 137getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture, Strings.ConfigUnsetNonExistingKey, args.ConfigKey)); 160throw new CommandException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PathNotFound, directory)); 286throw new CommandException(string.Format(CultureInfo.CurrentCulture, Strings.Error_ConfigSetInvalidKey, configKey));
Commands\DeleteCommand.cs (11)
22delete.Description = Strings.Delete_Description; 27Strings.ForceEnglishOutput_Description, 32Strings.Source_Description, 37Strings.NonInteractive_Description, 42Strings.ApiKey_Description, 47Strings.Delete_PackageIdAndVersion_Description, 52Strings.NoServiceEndpoint_Description, 57Strings.NuGetXplatCommand_Interactive, 64throw new ArgumentException(Strings.Delete_MissingArguments); 104Console.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ConsoleConfirmMessage, description)); 106return result.StartsWith(Strings.ConsoleConfirmMessageAccept, StringComparison.OrdinalIgnoreCase);
Commands\LocalsCommand.cs (8)
20locals.Description = Strings.LocalsCommand_Description; 25Strings.ForceEnglishOutput_Description, 30Strings.LocalsCommand_ClearDescription, 35Strings.LocalsCommand_ListDescription, 40Strings.LocalsCommand_ArgumentDescription, 54throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_NoArguments)); 58throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_MultipleOperations)); 62throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_NoOperation));
Commands\Package\Download\PackageDownloadCommand.cs (7)
25Strings.PackageDownloadCommand_Description, 31Description = Strings.PackageUpdate_PackageArgumentDescription, 39Description = Strings.PackageDownloadCommand_AllowInsecureConnectionsDescription, 45Description = Strings.Option_ConfigFile, 51Description = Strings.PackageDownloadCommand_OutputDirectoryDescription, 57Description = Strings.Prerelease_Description, 63Description = Strings.PackageDownloadCommand_SourcesDescription,
Commands\Package\Download\PackageDownloadRunner.cs (9)
82Strings.PackageDownloadCommand_Starting, 84string.IsNullOrEmpty(package.NuGetVersion?.ToNormalizedString()) ? Strings.PackageDownloadCommand_LatestVersion : package.NuGetVersion.ToNormalizedString())); 105Strings.PackageDownloadCommand_PackageSourceMapping_NoSourcesMapped, 154Strings.PackageDownloadCommand_Succeeded, 163Strings.PackageDownloadCommand_Failed, 237logger.LogError(Strings.Error_PackageDownload_VersionNotFound); 264Strings.PackageDownloadCommand_PackageSourceMapping_NoSuchSource, 312Strings.PackageDownloadCommand_AlreadyInstalled, 329Strings.PackageDownloadCommand_UnableToDownload,
Commands\Package\Update\PackageUpdateCommand.cs (4)
25var command = new DocumentedCommand("update", Strings.PackageUpdateCommand_Description, "https://aka.ms/dotnet/package/update"); 29Description = Strings.PackageUpdate_PackageArgumentDescription, 36projectOption.Description = Strings.PackageUpdateCommand_ProjectOptionDescription; 40vulnerableOption.Description = Strings.PackageUpdateCommand_VulnerableOptionDescription;
Commands\Package\Update\PackageUpdateCommandRunner.cs (15)
58logger.LogVerbose(Strings.PackageUpdate_LoadingDGSpec); 64string.Format(CultureInfo.CurrentCulture, Strings.Error_PathIsMissingOrInvalid, args.Project), 80logger.LogVerbose(Strings.PackageUpdate_FindingUpdateVersions); 89logger.LogDebug(Strings.PackageUpdate_PreviewRestore); 95logger.LogMinimal(Strings.PackageUpdate_PreviewRestoreFailed, ConsoleColor.Red); 141logger.LogWarning(Strings.PackageUpdate_AuditModeIsDirect); 266logger.LogError(Strings.PackageUpdate_AuditDisabled); 337logger.LogMinimal(Strings.PackageUpdate_NoVulnerablePackages, ConsoleColor.Green); 342logger.LogMinimal(Strings.PackageUpdate_AlreadyUpToDate, ConsoleColor.Green); 400throw new ArgumentException(Strings.ArgumentNullOrEmpty, nameof(packages)); 728return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_UpdatingOutdatedPackages, projectPath); 733return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_UpdatingVulnerablePackages, projectPath); 738return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_UpdatedMessage, packageId, currentVersion, newVersion); 743return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_FinalSummary, updatedCount, scannedCount); 748return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_AllVersionsHaveAdvisories, packageId);
Commands\PackageReferenceCommands\AddPackageReferenceCommand.cs (15)
23addpkg.Description = Strings.AddPkg_Description; 28Strings.ForceEnglishOutput_Description, 33Strings.AddPkg_PackageIdDescription, 38Strings.AddPkg_PackageVersionDescription, 43Strings.AddPkg_DgFileDescription, 48Strings.AddPkg_ProjectPathDescription, 53Strings.AddPkg_FrameworksDescription, 58Strings.AddPkg_NoRestoreDescription, 63Strings.AddPkg_SourcesDescription, 68Strings.AddPkg_PackageDirectoryDescription, 73Strings.AddPkg_InteractiveDescription, 78Strings.Prerelease_Description, 123throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PrereleaseWhenVersionSpecified, 132throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 145Strings.Error_PkgMissingOrInvalidProjectFile,
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (13)
34Strings.Info_AddPkgAddingReference, 41Strings.Warn_AddPkgWithoutRestore)); 73packageReferenceArgs.Logger.LogDebug(Strings.Error_NoDgSpec); 75throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_NoDgSpec)); 97Strings.Error_UnsupportedProject, 164throw new CommandException(string.Format(CultureInfo.CurrentCulture, Strings.PrereleaseVersionsAvailable, latestVersion)); 226Strings.Error_AddPkgIncompatibleWithAllFrameworks, 228packageReferenceArgs.Frameworks?.Any() == true ? Strings.AddPkg_UserSpecified : Strings.AddPkg_All, 248Strings.Info_AddPkgCompatibleWithAllFrameworks, 262Strings.Info_AddPkgCompatibleWithSubsetFrameworks, 290Strings.Error_AddPkgUnresolved, 300Strings.Error_AddPkgProjectReference,
Commands\PackageReferenceCommands\ListPackage\ListPackageCommand.cs (22)
31listpkg.Description = Strings.ListPkg_Description; 36Strings.ForceEnglishOutput_Description, 41Strings.ListPkg_PathDescription, 46Strings.ListPkg_FrameworkDescription, 51Strings.ListPkg_DeprecatedDescription, 56Strings.ListPkg_OutdatedDescription, 61Strings.ListPkg_VulnerableDescription, 66Strings.ListPkg_TransitiveDescription, 71Strings.ListPkg_PrereleaseDescription, 76Strings.ListPkg_HighestPatchDescription, 81Strings.ListPkg_HighestMinorDescription, 86Strings.ListPkg_SourceDescription, 91Strings.ListPkg_ConfigDescription, 96Strings.ListPkg_OutputFormatDescription, 101Strings.ListPkg_OutputVersionDescription, 106Strings.NuGetXplatCommand_Interactive, 111Strings.Verbosity_Description, 171throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_InvalidOptions)); 181throw new ArgumentException(string.Format(Strings.ListPkg_InvalidOutputFormat, outputFormatOption, currentlySupportedFormat)); 188throw new ArgumentException(string.Format(Strings.ListPkg_OutputVersionNotApplicable)); 199throw new ArgumentException(string.Format(Strings.ListPkg_InvalidOutputVersion, outputVersionOption, string.Join(" ,", currentlySupportedReportVersions))); 214reportRenderer.AddProblem(ProblemType.Warning, Strings.ListPkg_VulnerableIgnoredOptions);
Commands\PackageReferenceCommands\ListPackage\ListPackageCommandRunner.cs (6)
59Strings.ListPkg_ErrorFileNotFound, 104string.Format(CultureInfo.CurrentCulture, Strings.Error_NotPRProject, projectPath)); 120string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_InvalidFramework, frameworkAlias, projectPath)); 244string.Format(CultureInfo.CurrentCulture, Strings.Error_AssetsFileNotFound, projectPath)); 258string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_ErrorReadingAssetsFile, assetsPath)); 283string.Format(CultureInfo.CurrentCulture, Strings.Warning_AuditSourceWithoutData, source.Name)
Commands\PackageReferenceCommands\RemovePackageReferenceCommand.cs (7)
22removePkg.Description = Strings.RemovePkg_Description; 27Strings.ForceEnglishOutput_Description, 32Strings.RemovePkg_PackageIdDescription, 37Strings.RemovePkg_ProjectPathDescription, 42Strings.AddPkg_InteractiveDescription, 69throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 82Strings.Error_PkgMissingOrInvalidProjectFile,
Commands\PackageReferenceCommands\RemovePackageReferenceCommandRunner.cs (1)
19Strings.Info_RemovePkgRemovingReference,
Commands\PackageSearch\PackageSearchArgs.cs (1)
53throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidOptionValue, number, option));
Commands\PackageSearch\PackageSearchCommand.cs (11)
28var searchCommand = new DocumentedCommand("search", Strings.pkgSearch_Description, "https://aka.ms/dotnet/package/search"); 32Description = Strings.pkgSearch_termDescription, 38Description = Strings.pkgSearch_SourceDescription, 44Description = Strings.pkgSearch_ExactMatchDescription, 50Description = Strings.pkgSearch_PrereleaseDescription, 56Description = Strings.pkgSearch_InteractiveDescription, 62Description = Strings.pkgSearch_TakeDescription, 68Description = Strings.pkgSearch_SkipDescription, 74Description = Strings.pkgSearch_FormatDescription, 80Description = Strings.pkgSearch_VerbosityDescription, 86Description = Strings.Option_ConfigFile,
Commands\PackageSearch\PackageSearchRunner.cs (2)
71packageSearchResultRenderer.Add(new PackageSearchProblem(PackageSearchProblemType.Error, Strings.Error_NoSource)); 127packageSearchResultRenderer.Add(source, new PackageSearchProblem(PackageSearchProblemType.Warning, Strings.Error_CannotObtainSearchSource));
Commands\PushCommand.cs (18)
23push.Description = Strings.Push_Description; 28Strings.ForceEnglishOutput_Description, 33Strings.Source_Description, 38Strings.AllowInsecureConnections_Description, 43Strings.SymbolSource_Description, 48Strings.Push_Timeout_Description, 53Strings.ApiKey_Description, 58Strings.SymbolApiKey_Description, 63Strings.DisableBuffering_Description, 68Strings.NoSymbols_Description, 73Strings.Push_Package_ApiKey_Description, 78Strings.NoServiceEndpoint_Description, 83Strings.NuGetXplatCommand_Interactive, 88Strings.PushCommandSkipDuplicateDescription, 93Strings.Option_ConfigFile, 100throw new ArgumentException(Strings.Push_MissingArguments); 117throw new ArgumentException(Strings.Push_InvalidTimeout); 146throw new AggregateException(ex, new Exception(Strings.Push_Timeout_Error));
Commands\Signing\SignCommand.cs (23)
31Strings.SignCommandPackagePathDescription, 36Strings.SignCommandOutputDirectoryDescription, 41Strings.SignCommandCertificatePathDescription, 46Strings.SignCommandCertificateStoreNameDescription, 51Strings.SignCommandCertificateStoreLocationDescription, 56Strings.SignCommandCertificateSubjectNameDescription, 61Strings.SignCommandCertificateFingerprintDescription, 66Strings.SignCommandCertificatePasswordDescription, 71Strings.SignCommandHashAlgorithmDescription, 76Strings.SignCommandTimestamperDescription, 81Strings.SignCommandTimestampHashAlgorithmDescription, 86Strings.SignCommandOverwriteDescription, 91Strings.SignCommandAllowUntrustedRootDescription, 96Strings.Verbosity_Description, 101signCmd.Description = Strings.SignCommandDescription; 154throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 164logger.Log(LogMessage.CreateWarning(NuGetLogCode.NU3002, Strings.SignCommandNoTimestamperWarning)); 191Strings.Err_InvalidValue, 210Strings.Err_InvalidValue, 227throw new ArgumentException(Strings.SignCommandNoCertificateException); 236throw new ArgumentException(Strings.SignCommandMultipleCertificateException); 241throw new ArgumentException(Strings.SignCommandMultipleCertificateException); 247string message = string.Format(CultureInfo.CurrentCulture, Strings.SignCommandInvalidCertificateFingerprint, NuGetLogCode.NU3043);
Commands\Signing\TrustedSignersCommand.cs (36)
29listCommand.Description = Strings.TrustListCommandDescription; 32Strings.Option_ConfigFile, 47syncCommand.Description = Strings.TrustSyncCommandDescription; 50Strings.Option_ConfigFile, 58Strings.TrustedSignerNameExists); 68syncCommand.Description = Strings.TrustRemoveCommandDescription; 71Strings.Option_ConfigFile, 79Strings.TrustedSignerNameToRemove); 89authorCommand.Description = Strings.TrustAuthorCommandDescription; 93Strings.TrustCommandAllowUntrustedRoot, 98Strings.Option_ConfigFile, 106Strings.TrustedSignerNameToAdd); 108Strings.TrustLocalSignedNupkgPath); 118repositoryCommand.Description = Strings.TrustRepositoryCommandDescription; 122Strings.TrustCommandAllowUntrustedRoot, 127Strings.Option_ConfigFile, 134Strings.TrustCommandOwners, 140Strings.TrustedSignerNameToAdd); 142Strings.TrustLocalSignedNupkgPath); 152certificateCommand.Description = Strings.TrustRepositoryCommandDescription; 156Strings.TrustCommandAlgorithm, 161Strings.TrustCommandAllowUntrustedRoot, 166Strings.Option_ConfigFile, 174Strings.TrustedCertificateSignerNameToAdd); 176Strings.TrustCertificateFingerprint); 186sourceCommand.Description = Strings.TrustSourceCommandDescription; 190Strings.Option_ConfigFile, 197Strings.TrustCommandOwners, 202Strings.TrustSourceUrl, 208Strings.TrustSourceSignerName); 217trustedSignersCmd.Description = Strings.TrustCommandDescription; 220Strings.Option_ConfigFile, 291var error_TrustedSignerAlreadyExistsMessage = string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustedSignerAlreadyExists, name); 302var error_TrustedRepoAlreadyExists = string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustedRepoAlreadyExists, sourceUrl); 317logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustFingerPrintAlreadyExist)); 329Strings.Verbosity_Description,
Commands\Signing\VerifyCommand.cs (7)
29Strings.VerifyCommandPackagePathDescription, 34Strings.VerifyCommandAllDescription, 39Strings.VerifyCommandCertificateFingerprintDescription, 44Strings.Option_ConfigFile, 49Strings.Verbosity_Description, 53verifyCmd.Description = Strings.VerifyCommandDescription; 85throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument,
Commands\Verbs.cs (65)
23"PackageSourcePath", Strings.SourcesCommandSourceDescription); 26Strings.SourcesCommandNameDescription, 30Strings.SourcesCommandUsernameDescription, 34Strings.SourcesCommandPasswordDescription, 38Strings.SourcesCommandStorePasswordInClearTextDescription, 42Strings.SourcesCommandValidAuthenticationTypesDescription, 46Strings.SourcesCommandProtocolVersionDescription, 50Strings.Option_ConfigFile, 54Strings.SourcesCommandAllowInsecureConnectionsDescription, 57SourceCmd.Description = Strings.AddSourceCommandDescription; 81Strings.Option_PackageSource, 85Strings.Option_Path, 89Strings.Option_Password, 93Strings.Option_StorePasswordInClearText, 97Strings.Option_StoreLocation, 101Strings.Option_StoreName, 105Strings.Option_FindBy, 109Strings.Option_FindValue, 113Strings.Option_Force, 117Strings.Option_ConfigFile, 120ClientCertCmd.Description = Strings.AddClientCertCommandDescription; 142AddCmd.Description = Strings.Add_Description; 162"name", Strings.SourcesCommandNameDescription); 165Strings.Option_ConfigFile, 168SourceCmd.Description = Strings.DisableSourceCommandDescription; 182DisableCmd.Description = Strings.Disable_Description; 202"name", Strings.SourcesCommandNameDescription); 205Strings.Option_ConfigFile, 208SourceCmd.Description = Strings.EnableSourceCommandDescription; 222EnableCmd.Description = Strings.Enable_Description; 243Strings.SourcesCommandFormatDescription, 247Strings.Option_ConfigFile, 250SourceCmd.Description = Strings.ListSourceCommandDescription; 267Strings.Option_ConfigFile, 270ClientCertCmd.Description = Strings.ListClientCertCommandDescription; 283ListCmd.Description = Strings.List_Description; 303"name", Strings.SourcesCommandNameDescription); 306Strings.Option_ConfigFile, 309SourceCmd.Description = Strings.RemoveSourceCommandDescription; 326Strings.Option_PackageSource, 330Strings.Option_ConfigFile, 333ClientCertCmd.Description = Strings.RemoveClientCertCommandDescription; 347RemoveCmd.Description = Strings.Remove_Description; 367"name", Strings.SourcesCommandNameDescription); 370Strings.SourcesCommandSourceDescription, 374Strings.SourcesCommandUsernameDescription, 378Strings.SourcesCommandPasswordDescription, 382Strings.SourcesCommandStorePasswordInClearTextDescription, 386Strings.SourcesCommandValidAuthenticationTypesDescription, 390Strings.SourcesCommandProtocolVersionDescription, 394Strings.Option_ConfigFile, 398Strings.SourcesCommandAllowInsecureConnectionsDescription, 401SourceCmd.Description = Strings.UpdateSourceCommandDescription; 425Strings.Option_PackageSource, 429Strings.Option_Path, 433Strings.Option_Password, 437Strings.Option_StorePasswordInClearText, 441Strings.Option_StoreLocation, 445Strings.Option_StoreName, 449Strings.Option_FindBy, 453Strings.Option_FindValue, 457Strings.Option_Force, 461Strings.Option_ConfigFile, 464ClientCertCmd.Description = Strings.UpdateClientCertCommandDescription; 486UpdateCmd.Description = Strings.Update_Description;
Commands\Why\DependencyGraphFinder.cs (1)
44throw new FileFormatException(Strings.WhyCommand_Error_InconsistentAssetsFile);
Commands\Why\DependencyGraphPrinter.cs (1)
58tree.AddNode(Strings.WhyCommand_Message_NoDependencyGraphsFoundForFramework);
Commands\Why\WhyCommand.cs (5)
25whyCmd.Description = Strings.WhyCommand_Description; 63var whyCommand = new DocumentedCommand("why", Strings.WhyCommand_Description, "https://aka.ms/dotnet/nuget/why"); 67Description = Strings.WhyCommand_PathArgument_Description, 102Description = Strings.WhyCommand_PackageArgument_Description, 108Description = Strings.WhyCommand_FrameworksOption_Description,
Commands\Why\WhyCommandRunner.cs (17)
51Strings.WhyCommand_Error_ArgumentExceptionThrown, 76Strings.WhyCommand_Message_DependencyGraphsFoundInProject, 86Strings.WhyCommand_Message_NoDependencyGraphsFoundInProject, 121Strings.Error_NotPRProject, 132Strings.Error_AssetsFileNotFound, 145Strings.WhyCommand_Message_NonSDKStyleProjectsAreNotSupported, 165Strings.WhyCommand_Error_ArgumentCannotBeEmpty, 181Strings.WhyCommand_Error_ArgumentExceptionThrown, 182string.Format(CultureInfo.CurrentCulture, Strings.Error_PathIsMissingOrInvalid, path)); 199Strings.WhyCommand_Error_ArgumentExceptionThrown, 200string.Format(CultureInfo.CurrentCulture, Strings.Error_PathIsMissingOrInvalid, path)); 212Strings.WhyCommand_Error_ArgumentCannotBeEmpty, 232Strings.WhyCommand_Warning_AssetsFileDoesNotContainSpecifiedTarget, 256Strings.Error_AssetsFileNotFound, 264Strings.Error_PathIsMissingOrInvalid, 284Strings.WhyCommand_Error_InvalidAssetsFile_WithoutProject, 292Strings.WhyCommand_Error_InvalidAssetsFile_WithProject,
ListPackage\ListPackageConsoleRenderer.cs (15)
63_consoleOut.WriteLine(Strings.ListPkg_SourcesUsedDescription); 77_consoleOut.WriteLine(Strings.ListPkg_AutoReferenceDescription); 87consoleOut.WriteLine(Strings.ListPkg_SourcesUsedDescription); 106consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoPackagesFoundForFrameworks, project.ProjectName)); 119consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoUpdatesForProject, project.ProjectName)); 122consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoDeprecatedPackagesForProject, project.ProjectName)); 125consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoVulnerablePackagesForProject, project.ProjectName)); 153consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoUpdatesForFramework, frameworkHeader)); 156consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoDeprecationsForFramework, frameworkHeader)); 159consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoVulnerabilitiesForFramework, frameworkHeader)); 162consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoPackagesForFramework, frameworkHeader)); 240return string.Format(Strings.ListPkg_ProjectUpdatesHeaderLog, projectName); 242return string.Format(Strings.ListPkg_ProjectDeprecationsHeaderLog, projectName); 244return string.Format(Strings.ListPkg_ProjectVulnerabilitiesHeaderLog, projectName); 249return string.Format(Strings.ListPkg_ProjectHeaderLog, projectName);
Messages.cs (20)
12/// <inheritdoc cref="Strings.Error_NoVersionsAvailable"/> 15return string.Format(CultureInfo.CurrentCulture, Strings.Error_NoVersionsAvailable, packageId); 18/// <inheritdoc cref="Strings.Error_CouldNotFindPackageVersionForCpmPackage"/> 21return string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotFindPackageVersionForCpmPackage, packageId); 24/// <inheritdoc cref="Strings.Unsupported_UpdatePackageWithDifferentPerTfmVersions"/> 27return string.Format(CultureInfo.CurrentCulture, Strings.Unsupported_UpdatePackageWithDifferentPerTfmVersions, packageId, projectPath); 30/// <inheritdoc cref="Strings.Warning_AlreadyHighestVersion"/> 33return string.Format(CultureInfo.CurrentCulture, Strings.Warning_AlreadyHighestVersion, packageId, version, projectPath); 36/// <inheritdoc cref="Strings.Warning_AlreadyUsingSameVersion"/> 39return string.Format(CultureInfo.CurrentCulture, Strings.Warning_AlreadyUsingSameVersion, packageId, version); 42/// <inheritdoc cref="Strings.Error_MissingVersion"/> 45return string.Format(CultureInfo.CurrentCulture, Strings.Error_MissingVersion, packageId); 48/// <inheritdoc cref="Strings.Error_InvalidVersionRange"/> 51return string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidVersionRange, input); 54/// <inheritdoc cref="Strings.Error_InvalidVersion"/> 57return string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidVersion, input); 60/// <inheritdoc cref="Strings.Error_PackageSourceMappingNotFound"/> 63return string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageSourceMappingNotFound, packageId); 66/// <inheritdoc cref="Strings.Error_CannotUpgradeAutoReferencedPackage"/> 69return string.Format(CultureInfo.CurrentCulture, Strings.Error_CannotUpgradeAutoReferencedPackage, project, packageId);
NuGetCommands.cs (1)
51Description = Strings.AddPkg_InteractiveDescription,
Program.cs (5)
90log.LogDebug(string.Format(CultureInfo.CurrentCulture, Strings.Debug_CurrentUICulture, CultureInfo.DefaultThreadCurrentUICulture)); 111interactiveOption.Description = Strings.AddPkg_InteractiveDescription; 179log.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.OutputNuGetVersion, app.FullName, app.LongVersionGetter())); 214Strings.Sources_Redirect, $"dotnet nuget {verb} source")); 343app.FullName = Strings.App_FullName;
Strings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NuGet.CommandLine.XPlat.Strings", typeof(Strings).Assembly);
UILanguageOverride.cs (2)
62Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidCultureInfo, DOTNET_CLI_UI_LANGUAGE, dotnetCliLanguage)); 77Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidCultureInfo, VSLANG, vsLang));
Utility\CommandLineUtility.cs (1)
62Strings.Err_InvalidValue,
Utility\HttpSourcesUtility.cs (2)
45Strings.Error_HttpServerUsage, 53Strings.Error_HttpServerUsage_MultipleSources,
Utility\MSBuildAPIUtility.cs (19)
66throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_MsBuildUnableToOpenProject, projectCSProjPath)); 81throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_MsBuildUnableToOpenProject, projectCSProjPath)); 148Strings.Error_PathIsMissingOrInvalid, 185Strings.Error_UpdatePkgNoSuchPackage, 215packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_VersionOverrideDisabled, string.Join(";", dependenciesWithVersionOverride.Select(d => d.Name)))); 224packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_VersionsNotAllowed, string.Join(";", dependenciesWithDefinedVersion.Select(d => d.Name)))); 230packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_AutoreferencedReferencesNotAllowed, string.Join(";", autoReferencedAndDefinedInCentralFile.Select(d => d.Name)))); 236packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_MissingPackageVersion, string.Join(";", packageReferencedDependenciesWithoutCentralVersionDefined.Select(d => d.Name)))); 245packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_FloatingVersionsAreNotAllowed)); 254packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_AddPkg_CentralPackageVersions_PackageVersion_WrongLocation, packageReferenceArgs.PackageId)); 262packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_AddPkg_CentralPackageVersions_PackageReference_WrongLocation, packageReferenceArgs.PackageId)); 450Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.FullPath 466Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.FullPath)); 481Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgCPM, libraryDependency.Name, itemGroup.ContainingProject.FullPath, project.GetPropertyValue(DirectoryPackagesPropsPathPropertyName))); 602Strings.Info_AddPkgUpdated, 668"\t " + Strings.Error_AddPkgErrorStringForImportedEdit, 674Strings.Error_AddPkgFailOnImportEdit, 797throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_ErrorReadingAssetsFile, assetsFile.Path)); 830throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_ErrorReadingReferenceFromProject, project.FullPath));
Utility\ProjectPackagesPrintUtility.cs (10)
261return Strings.ListPkg_NotFoundAtSources; 279result.Add(Strings.ListPkg_TransitiveHeader); 284result.Add(Strings.ListPkg_TopLevelHeader); 286result.Add(Strings.ListPkg_Requested); 289result.Add(Strings.ListPkg_Resolved); 294result.Add(Strings.ListPkg_Latest); 297result.Add(Strings.ListPkg_DeprecationReasons); 298result.Add(Strings.ListPkg_DeprecationAlternative); 301result.Add(Strings.ListPkg_VulnerabilitySeverity); 302result.Add(Strings.ListPkg_VulnerabilityAdvisoryUrl);
Utility\XPlatUtility.cs (2)
106Strings.Error_MultipleProjectOrSolutionFilesInDirectory, 117Strings.Error_NoProjectOrSolutionFilesInDirectory,