Code review feedback changes.

This commit implements the requested changes from the PR code review.

- Remove unnecessary comments
- Use Directory.Exists rather than getting file attributes
- Use GracefulException where appripriate
- Improve test names and fix spacing
- Don't force trailing slash on directory
- Don't use option forwarding
- Delete unnecessary MSBuild.exe[.config] files from test project
- Use forwarded options
This commit is contained in:
Andy Zivkovic 2018-09-11 12:09:16 -07:00 committed by Peter Huene
parent 22b4b8451e
commit 2b84ebe054
No known key found for this signature in database
GPG key ID: E1D265D820213D6A
35 changed files with 415 additions and 566 deletions

View file

@ -647,7 +647,7 @@ setx PATH "%PATH%;{0}"
<value>VERSION_SUFFIX</value>
</data>
<data name="SolutionOrProjectArgumentDescription" xml:space="preserve">
<value>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</value>
<value>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</value>
</data>
<data name="SolutionOrProjectArgumentName" xml:space="preserve">
<value>PROJECT | SOLUTION</value>

View file

@ -7,6 +7,7 @@ using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.Common;
using Microsoft.DotNet.Tools.NuGet;
@ -27,25 +28,15 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
throw new ArgumentNullException(nameof(appliedCommand));
}
// Gets the absolute path of the given path
_fileOrDirectory = PathUtility.GetAbsolutePath(PathUtility.EnsureTrailingSlash(Directory.GetCurrentDirectory()),
appliedCommand.Arguments.Single());
FileAttributes attr = File.GetAttributes(_fileOrDirectory);
if (attr.HasFlag(FileAttributes.Directory))
{
_fileOrDirectory = PathUtility.EnsureTrailingSlash(_fileOrDirectory);
}
_appliedCommand = appliedCommand["package"];
}
public override int Execute()
{
var result = NuGetCommand.Run(TransformArgs());
return result;
return NuGetCommand.Run(TransformArgs());
}
private string[] TransformArgs()
@ -58,63 +49,31 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
args.Add(GetProjectOrSolution());
if (_appliedCommand.HasOption("outdated"))
{
args.Add("--outdated");
}
if (_appliedCommand.HasOption("include-transitive"))
{
args.Add("--include-transitive");
}
if (_appliedCommand.HasOption("framework"))
{
//Forward framework as multiple flags
foreach (var framework in _appliedCommand.AppliedOptions["framework"].Arguments)
{
args.Add("--framework");
args.Add(framework);
}
}
args.AddRange(_appliedCommand.OptionValuesToBeForwarded());
if (_appliedCommand.HasOption("include-prerelease"))
{
CheckForOutdated("--include-prerelease");
args.Add("--include-prerelease");
}
if (_appliedCommand.HasOption("highest-patch"))
{
CheckForOutdated("--highest-patch");
args.Add("--highest-patch");
}
if (_appliedCommand.HasOption("highest-minor"))
{
CheckForOutdated("--highest-minor");
args.Add("--highest-minor");
}
if (_appliedCommand.HasOption("config"))
{
CheckForOutdated("--config");
args.Add("--config");
//Config path absolute path
var configPath = PathUtility.GetAbsolutePath(PathUtility.EnsureTrailingSlash(Directory.GetCurrentDirectory()),
_appliedCommand.AppliedOptions["config"].Arguments.Single());
args.Add(configPath);
}
if (_appliedCommand.HasOption("source"))
{
CheckForOutdated("--source");
//Forward source as multiple flags
foreach (var source in _appliedCommand.AppliedOptions["source"].Arguments)
{
args.Add("--source");
args.Add(source);
}
}
return args.ToArray();
@ -129,7 +88,7 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
{
if (!_appliedCommand.HasOption("outdated"))
{
throw new Exception(string.Format(LocalizableStrings.OutdatedOptionOnly, option));
throw new GracefulException(LocalizableStrings.OutdatedOptionOnly, option);
}
@ -144,16 +103,15 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
private string GetProjectOrSolution()
{
string resultPath = _fileOrDirectory;
FileAttributes attr = File.GetAttributes(resultPath);
if (attr.HasFlag(FileAttributes.Directory))
if (Directory.Exists(resultPath))
{
var possibleSolutionPath = Directory.GetFiles(resultPath, "*.sln", SearchOption.TopDirectoryOnly);
//If more than a single sln file is found, an error is thrown since we can't determine which one to choose.
if (possibleSolutionPath.Count() > 1)
{
throw new Exception(LocalizableStrings.MultipleSolutionsFound + Environment.NewLine + string.Join(Environment.NewLine, possibleSolutionPath.ToArray()));
throw new GracefulException(CommonLocalizableStrings.MoreThanOneSolutionInDirectory, resultPath);
}
//If a single solution is found, use it.
else if (possibleSolutionPath.Count() == 1)
@ -170,7 +128,7 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
//No projects found throws an error that no sln nor projs were found
if (possibleProjectPath.Count() == 0)
{
throw new Exception(LocalizableStrings.NoProjectsOrSolutions);
throw new GracefulException(LocalizableStrings.NoProjectsOrSolutions, resultPath);
}
//A single project found, use it
else if (possibleProjectPath.Count() == 1)
@ -180,15 +138,14 @@ namespace Microsoft.DotNet.Tools.List.PackageReferences
//More than one project found. Not sure which one to choose
else
{
throw new Exception(LocalizableStrings.MultipleProjectsFound + Environment.NewLine + string.Join(Environment.NewLine, possibleProjectPath.ToArray()));
throw new GracefulException(CommonLocalizableStrings.MoreThanOneProjectInDirectory, resultPath);
}
}
}
//Make sure the file exists
if (!File.Exists(resultPath))
{
throw new FileNotFoundException(LocalizableStrings.FileNotFound, resultPath);
throw new GracefulException(LocalizableStrings.FileNotFound, resultPath);
}
return resultPath;

View file

@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.DotNet.Cli.CommandLine;
using LocalizableStrings = Microsoft.DotNet.Tools.List.PackageReferences.LocalizableStrings;
@ -12,32 +13,46 @@ namespace Microsoft.DotNet.Cli
public static Command ListPackageReferences() => Create.Command(
"package",
LocalizableStrings.AppFullName,
Accept.ZeroOrOneArgument(),
Accept.NoArguments(),
CommonOptions.HelpOption(),
Create.Option("--outdated",
LocalizableStrings.CmdOutdatedDescription),
LocalizableStrings.CmdOutdatedDescription,
Accept.NoArguments().ForwardAs("--outdated")),
Create.Option("--framework",
LocalizableStrings.CmdFrameworkDescription,
Accept.OneOrMoreArguments()
.With(name: LocalizableStrings.CmdFramework)
.ForwardAsSingle(o => $"--framework {string.Join("%3B", o.Arguments)}")),
.ForwardAsMany(o => ForwardedArguments("--framework", o.Arguments))),
Create.Option("--include-transitive",
LocalizableStrings.CmdTransitiveDescription),
LocalizableStrings.CmdTransitiveDescription,
Accept.NoArguments().ForwardAs("--include-transitive")),
Create.Option("--include-prerelease",
LocalizableStrings.CmdPrereleaseDescription),
LocalizableStrings.CmdPrereleaseDescription,
Accept.NoArguments().ForwardAs("--include-prerelease")),
Create.Option("--highest-patch",
LocalizableStrings.CmdHighestPatchDescription),
LocalizableStrings.CmdHighestPatchDescription,
Accept.NoArguments().ForwardAs("--highest-patch")),
Create.Option("--highest-minor",
LocalizableStrings.CmdHighestMinorDescription),
LocalizableStrings.CmdHighestMinorDescription,
Accept.NoArguments().ForwardAs("--highest-minor")),
Create.Option("--config",
LocalizableStrings.CmdConfigDescription,
Accept.ExactlyOneArgument()
.With(name: LocalizableStrings.CmdConfig)
.ForwardAsSingle(o => $"--config {o.Arguments.Single()}")),
.ForwardAsMany(o => new [] { "--config", o.Arguments.Single() })),
Create.Option("--source",
LocalizableStrings.CmdSourceDescription,
Accept.OneOrMoreArguments()
.With(name: LocalizableStrings.CmdSource)
.ForwardAsSingle(o => $"--source {string.Join("%3B", o.Arguments)}")));
.ForwardAsMany(o => ForwardedArguments("--source", o.Arguments))));
private static IEnumerable<string> ForwardedArguments(string token, IEnumerable<string> arguments)
{
foreach (var arg in arguments)
{
yield return token;
yield return arg;
}
}
}
}

View file

@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AppFullName" xml:space="preserve">
<value>List all packages references of the project.</value>
<value>List all package references of the project or solution.</value>
</data>
<data name="CmdFramework" xml:space="preserve">
<value>FRAMEWORK | FRAMEWORK\RID</value>
@ -132,40 +132,34 @@
<data name="CmdTransitiveDescription" xml:space="preserve">
<value>Lists transitive and top-level packages.</value>
</data>
<data name="MultipleProjectsFound" xml:space="preserve">
<value>The directory given includes multiple projects. Please specify one of the following projects:</value>
</data>
<data name="MultipleSolutionsFound" xml:space="preserve">
<value>The directory given includes multiple solutions. Please specify one of the following solutions:</value>
</data>
<data name="NoProjectsOrSolutions" xml:space="preserve">
<value>The given directory does not include any solution or project.</value>
<value>A project or solution file could not be found in {0}. Specify a project or solution file to use.</value>
</data>
<data name="CmdConfig" xml:space="preserve">
<value>CONFIG FILE</value>
<value>CONFIG_FILE</value>
</data>
<data name="CmdConfigDescription" xml:space="preserve">
<value>A path to a config file to specify sources. Works only with `--outdated`.</value>
<value>The path to the NuGet config file to use. Requires the '--outdated' option.</value>
</data>
<data name="CmdHighestMinorDescription" xml:space="preserve">
<value>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</value>
<value>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</value>
</data>
<data name="CmdHighestPatchDescription" xml:space="preserve">
<value>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</value>
<value>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</value>
</data>
<data name="CmdPrereleaseDescription" xml:space="preserve">
<value>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</value>
<value>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</value>
</data>
<data name="CmdSource" xml:space="preserve">
<value>SOURCE</value>
</data>
<data name="CmdSourceDescription" xml:space="preserve">
<value>Sources to lookup for latest versions. Works only with `--outdated`.</value>
<value>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</value>
</data>
<data name="OutdatedOptionOnly" xml:space="preserve">
<value>This option `{0}` can only be used with `--outdated` present.</value>
<value>Option '{0}' requires the '--outdated' option to be specified.</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>The given file was not found. Please make sure that you are passing the correct path.</value>
<value>Could not find file or directory '{0}'.</value>
</data>
</root>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="cs" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Zobrazí všechny odkazy mezi projekty v projektu.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="de" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Hiermit listen Sie alle Projekt-zu-Projekt-Verweise des Projekts auf.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="es" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Enumera referencias de proyecto a proyecto del proyecto.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="fr" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Listez toutes les références projet à projet du projet.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="it" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Elenca tutti i riferimenti P2P (da progetto a progetto) del progetto.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="ja" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">プロジェクトのすべてのプロジェクト間参照をリストします。</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="ko" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">프로젝트의 모든 프로젝트 간 참조를 나열합니다.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="pl" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Wyświetl listę wszystkich odwołań między projektami w projekcie.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="pt-BR" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Listar todas as referências de projeto a projeto do projeto.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="ru" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Вывод списка всех ссылок из одного проекта на другой.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="tr" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">Projenin tüm projeden projeye başvurularını listeleyin.</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">列出项目的所有项目到项目引用。</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -3,7 +3,7 @@
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../LocalizableStrings.resx">
<body>
<trans-unit id="AppFullName">
<source>List all packages references of the project.</source>
<source>List all package references of the project or solution.</source>
<target state="needs-review-translation">列出專案的所有專案對專案參考。</target>
<note />
</trans-unit>
@ -27,44 +27,34 @@
<target state="new">Lists transitive and top-level packages.</target>
<note />
</trans-unit>
<trans-unit id="MultipleProjectsFound">
<source>The directory given includes multiple projects. Please specify one of the following projects:</source>
<target state="new">The directory given includes multiple projects. Please specify one of the following projects:</target>
<note />
</trans-unit>
<trans-unit id="MultipleSolutionsFound">
<source>The directory given includes multiple solutions. Please specify one of the following solutions:</source>
<target state="new">The directory given includes multiple solutions. Please specify one of the following solutions:</target>
<note />
</trans-unit>
<trans-unit id="NoProjectsOrSolutions">
<source>The given directory does not include any solution or project.</source>
<target state="new">The given directory does not include any solution or project.</target>
<source>A project or solution file could not be found in {0}. Specify a project or solution file to use.</source>
<target state="new">A project or solution file could not be found in {0}. Specify a project or solution file to use.</target>
<note />
</trans-unit>
<trans-unit id="CmdConfig">
<source>CONFIG FILE</source>
<target state="new">CONFIG FILE</target>
<source>CONFIG_FILE</source>
<target state="new">CONFIG_FILE</target>
<note />
</trans-unit>
<trans-unit id="CmdConfigDescription">
<source>A path to a config file to specify sources. Works only with `--outdated`.</source>
<target state="new">A path to a config file to specify sources. Works only with `--outdated`.</target>
<source>The path to the NuGet config file to use. Requires the '--outdated' option.</source>
<target state="new">The path to the NuGet config file to use. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestMinorDescription">
<source>Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major version number when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdHighestPatchDescription">
<source>Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers only the versions that have matching minor and major when looking for latest version. Works only with `--outdated`.</target>
<source>Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider only the packages with a matching major and minor version numbers when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdPrereleaseDescription">
<source>Considers prerelease versions when looking for latest version. Works only with `--outdated`.</source>
<target state="new">Considers prerelease versions when looking for latest version. Works only with `--outdated`.</target>
<source>Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">Consider packages with prerelease versions when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdSource">
@ -73,18 +63,18 @@
<note />
</trans-unit>
<trans-unit id="CmdSourceDescription">
<source>Sources to lookup for latest versions. Works only with `--outdated`.</source>
<target state="new">Sources to lookup for latest versions. Works only with `--outdated`.</target>
<source>The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</source>
<target state="new">The NuGet sources to use when searching for newer packages. Requires the '--outdated' option.</target>
<note />
</trans-unit>
<trans-unit id="OutdatedOptionOnly">
<source>This option `{0}` can only be used with `--outdated` present.</source>
<target state="new">This option `{0}` can only be used with `--outdated` present.</target>
<source>Option '{0}' requires the '--outdated' option to be specified.</source>
<target state="new">Option '{0}' requires the '--outdated' option to be specified.</target>
<note />
</trans-unit>
<trans-unit id="FileNotFound">
<source>The given file was not found. Please make sure that you are passing the correct path.</source>
<target state="new">The given file was not found. Please make sure that you are passing the correct path.</target>
<source>Could not find file or directory '{0}'.</source>
<target state="new">Could not find file or directory '{0}'.</target>
<note />
</trans-unit>
</body>

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -894,8 +894,8 @@ setx PATH "%PATH%;{0}"
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentDescription">
<source>The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</source>
<target state="new">The project (or solution only with package command) file to operate on. If a file is not specified, the command will search the current directory for a (solution if used with package command then a) project.</target>
<source>The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</source>
<target state="new">The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.</target>
<note />
</trans-unit>
<trans-unit id="SolutionOrProjectArgumentName">

View file

@ -93,6 +93,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-install-tool.Tests",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InsertionTests", "InsertionTests\InsertionTests.csproj", "{A9713391-3D44-4664-9C41-75765218FD6C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-list-package.Tests", "dotnet-list-package.Tests\dotnet-list-package.Tests.csproj", "{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -607,6 +609,18 @@ Global
{A9713391-3D44-4664-9C41-75765218FD6C}.Release|x64.Build.0 = Release|Any CPU
{A9713391-3D44-4664-9C41-75765218FD6C}.Release|x86.ActiveCfg = Release|Any CPU
{A9713391-3D44-4664-9C41-75765218FD6C}.Release|x86.Build.0 = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|x64.ActiveCfg = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|x64.Build.0 = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|x86.ActiveCfg = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Debug|x86.Build.0 = Debug|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|Any CPU.Build.0 = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|x64.ActiveCfg = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|x64.Build.0 = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|x86.ActiveCfg = Release|Any CPU
{377363FE-0B87-4ACB-AEF3-3FF6454EC8D4}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -52,7 +52,7 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Fact]
public void AutoReferencedPackages()
public void ItListsAutoReferencedPackages()
{
var testAsset = "TestAppSimple";
var projectDirectory = TestAssets
@ -80,7 +80,7 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Fact]
public void RunOnSolution()
public void ItRunOnSolution()
{
var sln = "TestAppWithSlnAndSolutionFolders";
var projectDirectory = TestAssets
@ -126,7 +126,7 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Fact]
public void TransitivePackagePrinted()
public void ItListsTransitivePackage()
{
var testAsset = "NewtonSoftDependentProject";
var projectDirectory = TestAssets
@ -161,13 +161,13 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Theory]
[InlineData("", "[.NETFramework,Version=v4.5.1]", null)]
[InlineData("", "[.NETCoreApp,Version=v2.2]", null)]
[InlineData("--framework netcoreapp2.2 --framework net451", "[.NETFramework,Version=v4.5.1]", null)]
[InlineData("--framework netcoreapp2.2 --framework net451", "[.NETCoreApp,Version=v2.2]", null)]
[InlineData("--framework netcoreapp2.2", "[.NETCoreApp,Version=v2.2]", "[.NETFramework,Version=v4.5.1]")]
[InlineData("--framework net451", "[.NETFramework,Version=v4.5.1]", "[.NETCoreApp,Version=v2.2]")]
public void FrameworkSpecificList_Success(string args, string shouldInclude, string shouldntInclude)
[InlineData("", "[net451]", null)]
[InlineData("", "[netcoreapp2.2]", null)]
[InlineData("--framework netcoreapp2.2 --framework net451", "[net451]", null)]
[InlineData("--framework netcoreapp2.2 --framework net451", "[netcoreapp2.2]", null)]
[InlineData("--framework netcoreapp2.2", "[netcoreapp2.2]", "[net451]")]
[InlineData("--framework net451", "[net451]", "[netcoreapp2.2]")]
public void ItListsValidFrameworks(string args, string shouldInclude, string shouldntInclude)
{
var testAsset = "MSBuildAppWithMultipleFrameworks";
var projectDirectory = TestAssets
@ -209,7 +209,7 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Fact]
public void FrameworkSpecificList_Fail()
public void ItDoesNotAcceptInvalidFramework()
{
var testAsset = "MSBuildAppWithMultipleFrameworks";
var projectDirectory = TestAssets
@ -233,7 +233,7 @@ namespace Microsoft.DotNet.Cli.List.Package.Tests
}
[Fact]
public void FSharpProject()
public void ItListsFSharpProject()
{
var testAsset = "FSharpTestAppSimple";
var projectDirectory = TestAssets

View file

@ -1 +0,0 @@
https://github.com/Microsoft/msbuild/issues/927

View file

@ -1 +0,0 @@
https://github.com/Microsoft/msbuild/issues/927

View file

@ -14,23 +14,24 @@ namespace Microsoft.DotNet.Cli.List.Reference.Tests
{
public class GivenDotnetListReference : TestBase
{
private const string HelpText = @"Usage: dotnet list <PROJECT> reference [options]
private const string HelpText = @"Usage: dotnet list <PROJECT | SOLUTION> reference [options]
Arguments:
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
<PROJECT | SOLUTION> The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.
Options:
-h, --help Show command line help.";
private const string ListCommandHelpText = @"Usage: dotnet list [options] <PROJECT> [command]
private const string ListCommandHelpText = @"Usage: dotnet list [options] <PROJECT | SOLUTION> [command]
Arguments:
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
<PROJECT | SOLUTION> The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.
Options:
-h, --help Show command line help.
Commands:
package List all package references of the project or solution.
reference List all project-to-project references of the project.";
const string FrameworkNet451Arg = "-f net451";