Localizing Microsoft.DotNet.Cli.Utils.
This commit is contained in:
parent
fddabd4a51
commit
1be6365e56
19 changed files with 262 additions and 55 deletions
|
@ -35,7 +35,9 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
var bestVersion = versionRange.FindBestMatch(availableToolVersions);
|
||||
if (bestVersion == null)
|
||||
{
|
||||
throw new GracefulException($"Version for package `{packageId}` could not be resolved.");
|
||||
throw new GracefulException(string.Format(
|
||||
LocalizableStrings.VersionForPackageCouldNotBeResolved,
|
||||
packageId));
|
||||
}
|
||||
|
||||
return GetLockFilePath(packageId, bestVersion, framework);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue