parent\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (24)
187string.Format(CliStrings.IsNotFoundInNuGetFeeds, packageId, source.Source));
268_reporter.WriteLine(CliStrings.NuGetPackageSignatureVerificationSkipped);
294throw new NuGetPackageInstallerException(string.Format(CliStrings.FailedToValidatePackageSigning, commandOutput));
299_reporter.WriteLine(CliStrings.VerifyingNuGetPackageSignature, Path.GetFileNameWithoutExtension(nupkgPath));
305_reporter.WriteLine(CliStrings.NuGetPackageShouldNotBeSigned, Path.GetFileNameWithoutExtension(nupkgPath));
371throw new GracefulException(string.Format(CliStrings.ResolvedPathEscapesTargetDirectory, fullPath, targetFolder.Value));
482CliStrings.FailedToLoadNuGetSource,
508throw new NuGetPackageInstallerException(CliStrings.CannotUseAddSourceWithSourceMapping);
548throw new NuGetPackageInstallerException(string.Format(CliStrings.FailedToFindSourceUnderPackageSourceMapping, packageId));
553throw new NuGetPackageInstallerException(string.Format(CliStrings.FailedToMapSourceUnderPackageSourceMapping, packageId));
570CliStrings.FailedToLoadNuGetSource,
616CliStrings.FailedToLoadNuGetSource,
651throw new NuGetPackageInstallerException(string.Format(CliStrings.Error_NU1302_HttpSourceUsed, packageSource.Source));
700CliStrings.IsNotFoundInNuGetFeeds,
714return string.Format(CliStrings.PackageVersionDescriptionForExactVersionMatch,
719return string.Format(CliStrings.PackageVersionDescriptionForVersionWithLowerAndUpperBounds,
724return string.Format(CliStrings.PackageVersionDescriptionForVersionWithLowerBound,
729return string.Format(CliStrings.PackageVersionDescriptionForVersionWithUpperBound,
734return string.Format(CliStrings.PackageVersionDescriptionDefault, versionRange, packageIdentifier);
774string.Format(CliStrings.IsNotFoundInNuGetFeeds, packageIdentifier, packageSources.Select(s => s.Source)));
786CliStrings.IsNotFoundInNuGetFeeds,
914throw new NuGetPackageInstallerException(string.Format(CliStrings.FailedToLoadNuGetSource,
918throw new NuGetPackageNotFoundException(string.Format(CliStrings.IsNotFoundInNuGetFeeds,
959throw new NuGetPackageInstallerException($"{string.Format(CliStrings.FailedToLoadNuGetSource, source.Source)}: {e.Message}", e);
parent\dotnet\ToolManifest\ToolManifestEditor.cs (16)
58CliStrings.ManifestPackageIdCollision,
118string.Format(CliStrings.ManifestHasMarkOfTheWeb, manifest.Value));
160string.Format(CliStrings.UnexpectedTypeInJson,
182string.Format(CliStrings.UnexpectedTypeInJson,
192string.Format(CliStrings.UnexpectedTypeInJson,
218throw new ToolManifestException(string.Format(CliStrings.JsonParsingError,
235errors.Add(string.Format(CliStrings.ManifestMissingIsRoot, path.Value));
246errors.Add(string.Format(CliStrings.MultipleSamePackageId,
262packageLevelErrors.Add(CliStrings.ToolMissingVersion);
268packageLevelErrors.Add(string.Format(CliStrings.VersionIsInvalid, versionString));
275packageLevelErrors.Add(CliStrings.FieldCommandsIsMissing);
284errors.Add(string.Format(CliStrings.InPackage, packageId.ToString(),
301string.Format(CliStrings.InvalidManifestFilePrefix,
317errors.Add(CliStrings.ManifestVersion0);
324CliStrings.ManifestVersionHigherThanSupported,
417CliStrings.CannotFindPackageIdInManifest, packageId));