diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs b/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs deleted file mode 100644 index 013260ed8..000000000 --- a/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs +++ /dev/null @@ -1,32 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Cli.Sln.Internal -{ - internal class LocalizableStrings - { - // {0} is the line number - // {1} is the error message details - public const string ErrorMessageFormatString = "Invalid format in line {0}: {1}"; - - public const string ProjectParsingErrorFormatString = "Project section is missing '{0}' when parsing the line starting at position {1}"; - - public const string InvalidPropertySetFormatString = "Property set is missing '{0}'"; - - public const string GlobalSectionMoreThanOnceError = "Global section specified more than once"; - - public const string GlobalSectionNotClosedError = "Global section not closed"; - - public const string FileHeaderMissingVersionError = "File header is missing version"; - - public const string FileHeaderMissingError = "Expected file header not found"; - - public const string ProjectSectionNotClosedError = "Project section not closed"; - - public const string InvalidSectionTypeError = "Invalid section type: {0}"; - - public const string SectionIdMissingError = "Section id missing"; - - public const string ClosingSectionTagNotFoundError = "Closing section tag not found"; - } -} diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.resx b/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.resx new file mode 100644 index 000000000..205037931 --- /dev/null +++ b/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.resx @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Invalid format in line {0}: {1} + + + Project section is missing '{0}' when parsing the line starting at position {1} + + + Property set is missing '{0}' + + + Global section specified more than once + + + Global section not closed + + + File header is missing version + + + Expected file header not found + + + Project section not closed + + + Invalid section type: {0} + + + Section id missing + + + Closing section tag not found + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj index 1b4b8d348..fab4bb6bf 100644 --- a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj +++ b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj @@ -12,6 +12,10 @@ true + + + + diff --git a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs deleted file mode 100644 index 3b2f17829..000000000 --- a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs +++ /dev/null @@ -1,100 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Cli.Utils -{ - internal class LocalizableStrings - { - public const string MalformedText = "Malformed command text '{0}'"; - - public const string BuildOutputPathDoesNotExist = "outputpathresolver: {0} does not exist"; - - public const string AttemptingToFindCommand = "{0}: attempting to find command {1} in {2}"; - - public const string FailedToFindToolAssembly = "{0}: failed to find toolAssembly for {1}"; - - public const string FailedToFindCommandPath = "{0}: failed to find commandPath {1}"; - - public const string UnableToLocateDotnetMultiplexer = "Unable to locate dotnet multiplexer"; - - public const string LookingForPreferCliRuntimeFile = "{0}: Looking for prefercliruntime file at `{1}`"; - - public const string IgnoringPreferCLIRuntimeFile = "{0}: Ignoring prefercliruntime file as the tool target framework ({1}) has a different major version than the current CLI runtime ({2})"; - - public const string CouldNotFindToolRuntimeConfigFile = "{0}: Could not find runtimeconfig.json file for tool {1}"; - - public const string AttemptingToResolve = "{0}: attempting to resolve {1}"; - - public const string DidNotFindAMatchingProject = "{0}: Did not find a matching project {1}."; - - public const string InvalidCommandResolverArguments = "{0}: invalid commandResolverArguments"; - - public const string DoesNotExist = "{0}: {1} does not exist"; - - public const string AmbiguousCommandName = "Ambiguous command name: {0}"; - - public const string ToolLibraryFound = "{0}: tool library found {1}"; - - public const string MSBuildExePath = "{0}: MSBUILD_EXE_PATH = {1}"; - - public const string MSBuildProjectPath = "{0}: MSBuild project path = {1}"; - - public const string MultipleProjectFilesFound = "Specify which project file to use because this '{0}' contains more than one project file."; - - public const string DidNotFindProject = "{0}: ProjectFactory did not find Project."; - - public const string ResolvingCommandSpec = "{0}: resolving commandspec from {1} Tool Libraries."; - - public const string FailedToResolveCommandSpec = "{0}: failed to resolve commandspec from library."; - - public const string AttemptingToResolveCommandSpec = "{0}: Attempting to resolve command spec from tool {1}"; - - public const string NuGetPackagesRoot = "{0}: nuget packages root:\n{1}"; - - public const string FoundToolLockFile = "{0}: found tool lockfile at : {1}"; - - public const string LibraryNotFoundInLockFile = "{0}: library not found in lock file."; - - public const string AttemptingToCreateCommandSpec = "{0}: attempting to create commandspec"; - - public const string CommandSpecIsNull = "{0}: commandSpec is null."; - - public const string ExpectDepsJsonAt = "{0}: expect deps.json at: {1}"; - - public const string GeneratingDepsJson = "Generating deps.json at: {0}"; - - public const string UnableToGenerateDepsJson = "unable to generate deps.json, it may have been already generated: {0}"; - - public const string DepsJsonGeneratorProjectNotSet = "Unable to find deps.json generator project."; - - public const string UnableToDeleteTemporaryDepsJson = "unable to delete temporary deps.json file: {0}"; - - public const string VersionForPackageCouldNotBeResolved = "Version for package `{0}` could not be resolved."; - - public const string FileNotFound = "File not found `{0}`."; - - public const string ProjectNotRestoredOrRestoreFailed = "The project may not have been restored or restore failed - run `dotnet restore`"; - - public const string NoExecutableFoundMatchingCommand = "No executable found matching command \"{0}\""; - - public const string CommandAssembliesNotFound = "The command executable for \"{0}\" was not found. The project may not have been restored or restore failed - run `dotnet restore`"; - - public const string WaitingForDebuggerToAttach = "Waiting for debugger to attach. Press ENTER to continue"; - - public const string ProcessId = "Process ID: {0}"; - - public const string CouldNotAccessAssetsFile = "Could not access assets file."; - - public const string DotNetCommandLineTools = ".NET Command Line Tools"; - - public const string WriteLineForwarderSetPreviously = "WriteLine forwarder set previously"; - - public const string AlreadyCapturingStream = "Already capturing stream!"; - - public const string RunningFileNameArguments = "Running {0} {1}"; - - public const string ProcessExitedWithCode = "< {0} exited with {1} in {2} ms."; - - public const string UnableToInvokeMemberNameAfterCommand = "Unable to invoke {0} after the command has been run"; - } -} diff --git a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.resx b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.resx new file mode 100644 index 000000000..0fe90333b --- /dev/null +++ b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.resx @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Malformed command text '{0}' + + + outputpathresolver: {0} does not exist + + + {0}: attempting to find command {1} in {2} + + + {0}: failed to find toolAssembly for {1} + + + {0}: failed to find commandPath {1} + + + Unable to locate dotnet multiplexer + + + {0}: Looking for prefercliruntime file at `{1}` + + + {0}: Ignoring prefercliruntime file as the tool target framework ({1}) has a different major version than the current CLI runtime ({2}) + + + {0}: Could not find runtimeconfig.json file for tool {1} + + + {0}: attempting to resolve {1} + + + {0}: Did not find a matching project {1}. + + + {0}: invalid commandResolverArguments + + + {0}: {1} does not exist + + + Ambiguous command name: {0} + + + {0}: tool library found {1} + + + {0}: MSBUILD_EXE_PATH = {1} + + + {0}: MSBuild project path = {1} + + + Specify which project file to use because this '{0}' contains more than one project file. + + + {0}: ProjectFactory did not find Project. + + + {0}: resolving commandspec from {1} Tool Libraries. + + + {0}: failed to resolve commandspec from library. + + + {0}: Attempting to resolve command spec from tool {1} + + + {0}: nuget packages root: +{1} + + + {0}: found tool lockfile at : {1} + + + {0}: library not found in lock file. + + + {0}: attempting to create commandspec + + + {0}: commandSpec is null. + + + {0}: expect deps.json at: {1} + + + Generating deps.json at: {0} + + + unable to generate deps.json, it may have been already generated: {0} + + + Unable to find deps.json generator project. + + + unable to delete temporary deps.json file: {0} + + + Version for package `{0}` could not be resolved. + + + File not found `{0}`. + + + The project may not have been restored or restore failed - run `dotnet restore` + + + No executable found matching command "{0}" + + + The command executable for "{0}" was not found. The project may not have been restored or restore failed - run `dotnet restore` + + + Waiting for debugger to attach. Press ENTER to continue + + + Process ID: {0} + + + Could not access assets file. + + + .NET Command Line Tools + + + WriteLine forwarder set previously + + + Already capturing stream! + + + Running {0} {1} + + + < {0} exited with {1} in {2} ms. + + + Unable to invoke {0} after the command has been run + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj index 7d230f361..b29251ca9 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj +++ b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj @@ -11,6 +11,10 @@ true + + + + diff --git a/src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs b/src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs index c6081d14e..fd46cf972 100644 --- a/src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs +++ b/src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs @@ -35,7 +35,7 @@ namespace Microsoft.DotNet.Configurer private void PrintFirstTimeUseNotice() { - const string firstTimeUseWelcomeMessage = LocalizableStrings.FirstTimeWelcomeMessage; + string firstTimeUseWelcomeMessage = LocalizableStrings.FirstTimeWelcomeMessage; Reporter.Output.WriteLine(); Reporter.Output.WriteLine(firstTimeUseWelcomeMessage); diff --git a/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs b/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs deleted file mode 100644 index 5fe83556d..000000000 --- a/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs +++ /dev/null @@ -1,24 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Configurer -{ - internal class LocalizableStrings - { - public const string FirstTimeWelcomeMessage = @"Welcome to .NET Core! ---------------------- -Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs. - -Telemetry --------------- -The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community. -You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell. -You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry. - -Configuring... -------------------- -A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once."; - - public const string FailedToPrimeCacheError = "Failed to prime the NuGet cache. {0} failed with: {1}"; - } -} diff --git a/src/Microsoft.DotNet.Configurer/LocalizableStrings.resx b/src/Microsoft.DotNet.Configurer/LocalizableStrings.resx new file mode 100644 index 000000000..15ada4de5 --- /dev/null +++ b/src/Microsoft.DotNet.Configurer/LocalizableStrings.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Welcome to .NET Core! +--------------------- +Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs. + +Telemetry +-------------- +The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community. +You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell. +You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry. + +Configuring... +------------------- +A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once. + + + Failed to prime the NuGet cache. {0} failed with: {1} + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj index 03775be47..92026b83f 100644 --- a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj +++ b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj @@ -12,6 +12,10 @@ git://github.com/dotnet/cli + + + + diff --git a/src/dotnet/CommandLine/HelpMessageStrings.cs b/src/dotnet/CommandLine/HelpMessageStrings.cs index 09551d2e6..3bbd0e21a 100644 --- a/src/dotnet/CommandLine/HelpMessageStrings.cs +++ b/src/dotnet/CommandLine/HelpMessageStrings.cs @@ -5,6 +5,6 @@ namespace Microsoft.DotNet.Cli.CommandLine { internal class HelpMessageStrings { - internal const string MSBuildAdditionalArgsHelpText = LocalizableStrings.MSBuildAdditionalArgsHelpText; + internal static string MSBuildAdditionalArgsHelpText => LocalizableStrings.MSBuildAdditionalArgsHelpText; } } diff --git a/src/dotnet/CommandLine/LocalizableStrings.cs b/src/dotnet/CommandLine/LocalizableStrings.cs deleted file mode 100644 index ff01edf1b..000000000 --- a/src/dotnet/CommandLine/LocalizableStrings.cs +++ /dev/null @@ -1,50 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Cli.CommandLine -{ - internal class LocalizableStrings - { - public const string LastArgumentMultiValueError = "The last argument '{0}' accepts multiple values. No more argument can be added."; - - public const string OptionRequiresSingleValueWhichIsMissing = "Required value for option '{0}' was not provided."; - - public const string UnexpectedValueForOptionError = "Unexpected value '{0}' for option '{1}'"; - - public const string UnexpectedArgumentError = "Unrecognized {0} '{1}'"; - - public const string ResponseFileNotFoundError = "Response file '{0}' doesn't exist."; - - public const string ShowHelpInfo = "Show help information"; - - public const string ShowVersionInfo = "Show version information"; - - public const string ShowHintInfo = "Specify --{0} for a list of available options and commands."; - - public const string UsageHeader = "Usage:"; - - public const string UsageArgumentsToken = " [arguments]"; - - public const string UsageArgumentsHeader = "Arguments:"; - - public const string UsageOptionsToken = " [options]"; - - public const string UsageOptionsHeader = "Options:"; - - public const string UsageCommandToken = " [command]"; - - public const string UsageCommandsHeader = "Commands:"; - - public const string UsageCommandsDetailHelp = "Use \"{0} [command] --help\" for more information about a command."; - - public const string UsageCommandArgs = " [args]"; - - public const string UsageCommandAdditionalArgs = " [[--] ...]]"; - - public const string UsageCommandsAdditionalArgsHeader = "Additional Arguments:"; - - public const string InvalidTemplateError = "Invalid template pattern '{0}'"; - - public const string MSBuildAdditionalArgsHelpText = "Any extra options that should be passed to MSBuild. See 'dotnet msbuild -h' for available options."; - } -} diff --git a/src/dotnet/CommandLine/LocalizableStrings.resx b/src/dotnet/CommandLine/LocalizableStrings.resx new file mode 100644 index 000000000..0859e0db6 --- /dev/null +++ b/src/dotnet/CommandLine/LocalizableStrings.resx @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The last argument '{0}' accepts multiple values. No more argument can be added. + + + Required value for option '{0}' was not provided. + + + Unexpected value '{0}' for option '{1}' + + + Unrecognized {0} '{1}' + + + Response file '{0}' doesn't exist. + + + Show help information + + + Show version information + + + Specify --{0} for a list of available options and commands. + + + Usage: + + + [arguments] + + + Arguments: + + + [options] + + + Options: + + + [command] + + + Commands: + + + Use "{0} [command] --help" for more information about a command. + + + [args] + + + [[--] <additional arguments>...]] + + + Additional Arguments: + + + Invalid template pattern '{0}' + + + Any extra options that should be passed to MSBuild. See 'dotnet msbuild -h' for available options. + + \ No newline at end of file diff --git a/src/dotnet/CommonLocalizableStrings.cs b/src/dotnet/CommonLocalizableStrings.cs deleted file mode 100644 index 666ed56f4..000000000 --- a/src/dotnet/CommonLocalizableStrings.cs +++ /dev/null @@ -1,199 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools -{ - internal class CommonLocalizableStrings - { - public const string UnsupportedProjectType = "Unsupported project type. Please check with your sdk provider."; - public const string ProjectAlreadyHasAreference = "Project already has a reference to `{0}`."; - public const string ProjectReferenceCouldNotBeFound = "Project reference `{0}` could not be found."; - public const string ProjectReferenceRemoved = "Project reference `{0}` removed."; - - // Project related - public const string Project = "Project"; - public const string ProjectFile = "Project file"; - public const string Reference = "Reference"; - public const string ProjectReference = "Project reference"; - public const string ProjectReferenceOneOrMore = "Project reference(s)"; - public const string PackageReference = "Package reference"; - public const string P2P = "Project to Project"; - public const string P2PReference = "Project to Project reference"; - public const string Package = "Package"; - public const string Solution = "Solution"; - public const string SolutionFile = "Solution file"; - public const string Executable = "Executable"; - public const string Library = "Library"; - public const string Program = "Program"; - public const string Application = "Application"; - public const string ReferenceAddedToTheProject = "Reference `{0}` added to the project."; - - // Verbs - public const string Add = "Add"; - public const string Remove = "Remove"; - public const string Delete = "Delete"; - public const string Update = "Update"; - public const string New = "New"; - public const string List = "List"; - public const string Load = "Load"; - public const string Save = "Save"; - public const string Find = "Find"; - - // Other - public const string Error = "Error"; - public const string Warning = "Warning"; - - public const string File = "File"; - public const string Directory = "Directory"; - - public const string Type = "Type"; - public const string Value = "Value"; - public const string Group = "Group"; - - // General sentences"; - public const string XAddedToY = "{0} added to {1}."; - public const string XRemovedFromY = "{0} removed from {1}."; - public const string XDeletedFromY = "{0} deleted from {1}."; - public const string XSuccessfullyUpdated = "{0} successfully updated."; - - // General errors - /// Invalid - public const string XIsInvalid = "{0} is invalid."; - public const string XYFoundButInvalid = "{0} `{1}` found but is invalid."; - public const string XFoundButInvalid = "`{0}` found but is invalid."; - public const string OperationInvalid = "Operation is invalid."; - public const string OperationXInvalid = "Operation {0} is invalid."; - - /// Not Found - public const string XNotFound = "{0} not found."; - public const string XOrYNotFound = "{0} or {1} not found."; - public const string XOrYNotFoundInZ = "{0} or {1} not found in `{2}`."; - public const string FileNotFound = "File `{0}` not found."; - - /// Does not exist - public const string XDoesNotExist = "{0} does not exist."; - public const string XYDoesNotExist = "{0} `{1}` does not exist."; - - /// Duplicate - public const string MoreThanOneXFound = "More than one {0} found."; - public const string XAlreadyContainsY = "{0} already contains {1}."; - public const string XAlreadyContainsYZ = "{0} already contains {1} `{2}`."; - public const string XAlreadyHasY = "{0} already has {1}."; - public const string XAlreadyHasYZ = "{0} already has {1} `{2}`."; - - /// Other - public const string XWasNotExpected = "{0} was not expected."; - public const string XNotProvided = "{0} not provided."; - public const string SpecifyAtLeastOne = "Please specify at least one {0}."; - public const string CouldNotConnectWithTheServer = "Could not connect with the server."; - - // Command Line Parsing - public const string RequiredArgumentIsInvalid = "Required argument {0} is invalid."; - public const string OptionIsInvalid = "Option {0} is invalid."; - public const string ArgumentIsInvalid = "Argument {0} is invalid."; - public const string RequiredArgumentNotPassed = "Required argument {0} was not provided."; - public const string RequiredCommandNotPassed = "Required command was not provided."; - - // dotnet - /// Project - public const string CouldNotFindAnyProjectInDirectory = "Could not find any project in `{0}`."; - public const string CouldNotFindProjectOrDirectory = "Could not find project or directory `{0}`."; - public const string MoreThanOneProjectInDirectory = "Found more than one project in `{0}`. Please specify which one to use."; - public const string FoundInvalidProject = "Found a project `{0}` but it is invalid."; - public const string InvalidProject = "Invalid project `{0}`."; - public const string InvalidProjectWithExceptionMessage = "Invalid project `{0}`. {1}."; - - /// Solution - public const string CouldNotFindSolutionIn = "Specified solution file {0} does not exist, or there is no solution file in the directory."; - public const string CouldNotFindSolutionOrDirectory = "Could not find solution or directory `{0}`."; - public const string MoreThanOneSolutionInDirectory = "Found more than one solution file in {0}. Please specify which one to use."; - public const string InvalidSolutionFormatString = "Invalid solution `{0}`. {1}."; // {0} is the solution path, {1} is already localized details on the failure - public const string SolutionDoesNotExist = "Specified solution file {0} does not exist, or there is no solution file in the directory."; - - /// add p2p - public const string ReferenceDoesNotExist = "Reference {0} does not exist."; - public const string ReferenceIsInvalid = "Reference `{0}` is invalid."; - public const string SpecifyAtLeastOneReferenceToAdd = "You must specify at least one reference to add."; - public const string ProjectAlreadyHasAReference = "Project {0} already has a reference `{1}`."; - - /// add package - public const string PackageReferenceDoesNotExist = "Package reference `{0}` does not exist."; - public const string PackageReferenceIsInvalid = "Package reference `{0}` is invalid."; - public const string SpecifyAtLeastOnePackageReferenceToAdd = "You must specify at least one package to add."; - public const string PackageReferenceAddedToTheProject = "Package reference `{0}` added to the project."; - public const string ProjectAlreadyHasAPackageReference = "Project {0} already has a reference `{1}`."; - public const string PleaseSpecifyVersion = "Please specify a version of the package."; - - /// add sln - public const string ProjectDoesNotExist = "Project `{0}` does not exist."; - public const string ProjectIsInvalid = "Project `{0}` is invalid."; - public const string SpecifyAtLeastOneProjectToAdd = "You must specify at least one project to add."; - public const string ProjectAddedToTheSolution = "Project `{0}` added to the solution."; - public const string SolutionAlreadyContainsProject = "Solution {0} already contains project {1}."; - - /// del p2p - public const string ReferenceNotFoundInTheProject = "Specified reference {0} does not exist in project {1}."; - public const string ReferenceRemoved = "Reference `{0}` deleted from the project."; - public const string SpecifyAtLeastOneReferenceToRemove = "You must specify at least one reference to remove."; - public const string ReferenceDeleted = "Reference `{0}` deleted."; - - /// del pkg - public const string PackageReferenceNotFoundInTheProject = "Package reference `{0}` could not be found in the project."; - public const string PackageReferenceRemoved = "Reference `{0}` deleted from the project."; - public const string SpecifyAtLeastOnePackageReferenceToRemove = "You must specify at least one package reference to remove."; - public const string PackageReferenceDeleted = "Package reference `{0}` deleted."; - - /// del sln - public const string ProjectNotFoundInTheSolution = "Project `{0}` could not be found in the solution."; - public const string ProjectRemoved = "Project `{0}` removed from solution."; - public const string SpecifyAtLeastOneProjectToRemove = "You must specify at least one project to remove."; - public const string ProjectDeleted = "Project `{0}` deleted from solution."; - - /// list - public const string NoReferencesFound = "There are no {0} references in project {1}. ;; {0} is the type of the item being requested (project, package, p2p) and {1} is the object operated on (a project file or a solution file). "; - public const string NoProjectsFound = "No projects found in the solution."; - - /// arguments - public const string ArgumentsProjectOrSolutionDescription = "The project or solution to operation on. If a file is not specified, the current directory is searched."; - - /// sln - public const string ArgumentsProjectDescription = "The project file to operate on. If a file is not specified, the command will search the current directory for one."; - public const string ArgumentsSolutionDescription = "Solution file to operate on. If not specified, the command will search the current directory for one."; - public const string CmdSlnFile = "SLN_FILE"; - public const string CmdProjectFile = "PROJECT"; - - /// commands - public const string CmdFramework = "FRAMEWORK"; - - /// update pkg - public const string PleaseSpecifyNewVersion = "Please specify new version of the package."; - public const string PleaseSpecifyWhichPackageToUpdate = "Please specify which package to update."; - public const string NothingToUpdate = "Nothing to update."; - public const string EverythingUpToDate = "Everything is already up-to-date."; - public const string PackageVersionUpdatedTo = "Version of package `{0}` updated to `{1}`."; - public const string PackageVersionUpdated = "Version of package `{0}` updated."; - public const string CouldNotUpdateTheVersion = "Could not update the version of the package `{0}`."; - - /// new - public const string TemplateCreatedSuccessfully = "The template {0} created successfully. Please run \"dotnet restore\" to get started!"; - public const string TemplateInstalledSuccesfully = "The template {0} installed successfully. You can use \"dotnet new {0}\" to get started with the new template."; - public const string TemplateCreateError = "Template {0} could not be created. Error returned was: {1}."; - public const string TemplateInstallError = "Template {0} could not be installed. Error returned was: {1}."; - public const string SpecifiedNameExists = "Specified name {0} already exists. Please specify a different name."; - public const string SpecifiedAliasExists = "Specified alias {0} already exists. Please specify a different alias."; - public const string MandatoryParameterMissing = "Mandatory parameter {0} missing for template {1}. "; - - public const string ProjectNotCompatibleWithFrameworks = "Project `{0}` cannot be added due to incompatible targeted frameworks between the two projects. Please review the project you are trying to add and verify that is compatible with the following targets:"; - public const string ProjectDoesNotTargetFramework = "Project `{0}` does not target framework `{1}`."; - public const string ProjectCouldNotBeEvaluated = "Project `{0}` could not be evaluated. Evaluation failed with following error:\n{1}."; - - /// common options - public const string VerbosityOptionDescription = "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]."; - public const string FrameworkOptionDescription = "Target framework to publish for. The target framework has to be specified in the project file."; - public const string RuntimeOptionDescription = "Publish the project for a given runtime. This is used when creating self-contained deployment. Default is to publish a framework-dependent app."; - public const string ConfigurationOptionDescription = "Configuration to use for building the project. Default for most projects is \"Debug\"."; - public const string CmdVersionSuffixDescription = "Defines the value for the $(VersionSuffix) property in the project."; - - public const string ShowHelpDescription = "Show help information."; - } -} diff --git a/src/dotnet/CommonLocalizableStrings.resx b/src/dotnet/CommonLocalizableStrings.resx new file mode 100644 index 000000000..708b0daf3 --- /dev/null +++ b/src/dotnet/CommonLocalizableStrings.resx @@ -0,0 +1,523 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Unsupported project type. Please check with your sdk provider. + + + Project already has a reference to `{0}`. + + + Project reference `{0}` could not be found. + + + Project reference `{0}` removed. + + + Project + + + Project file + + + Reference + + + Project reference + + + Project reference(s) + + + Package reference + + + Project to Project + + + Project to Project reference + + + Package + + + Solution + + + Solution file + + + Executable + + + Library + + + Program + + + Application + + + Reference `{0}` added to the project. + + + Add + + + Remove + + + Delete + + + Update + + + New + + + List + + + Load + + + Save + + + Find + + + Error + + + Warning + + + File + + + Directory + + + Type + + + Value + + + Group + + + {0} added to {1}. + + + {0} removed from {1}. + + + {0} deleted from {1}. + + + {0} successfully updated. + + + {0} is invalid. + + + {0} `{1}` found but is invalid. + + + `{0}` found but is invalid. + + + Operation is invalid. + + + Operation {0} is invalid. + + + {0} not found. + + + {0} or {1} not found. + + + {0} or {1} not found in `{2}`. + + + File `{0}` not found. + + + {0} does not exist. + + + {0} `{1}` does not exist. + + + More than one {0} found. + + + {0} already contains {1}. + + + {0} already contains {1} `{2}`. + + + {0} already has {1}. + + + {0} already has {1} `{2}`. + + + {0} was not expected. + + + {0} not provided. + + + Please specify at least one {0}. + + + Could not connect with the server. + + + Required argument {0} is invalid. + + + Option {0} is invalid. + + + Argument {0} is invalid. + + + Required argument {0} was not provided. + + + Required command was not provided. + + + Could not find any project in `{0}`. + + + Could not find project or directory `{0}`. + + + Found more than one project in `{0}`. Please specify which one to use. + + + Found a project `{0}` but it is invalid. + + + Invalid project `{0}`. + + + Invalid project `{0}`. {1}. + + + Specified solution file {0} does not exist, or there is no solution file in the directory. + + + Could not find solution or directory `{0}`. + + + Found more than one solution file in {0}. Please specify which one to use. + + + Invalid solution `{0}`. {1}. + + + Specified solution file {0} does not exist, or there is no solution file in the directory. + + + Reference {0} does not exist. + + + Reference `{0}` is invalid. + + + You must specify at least one reference to add. + + + Project {0} already has a reference `{1}`. + + + Package reference `{0}` does not exist. + + + Package reference `{0}` is invalid. + + + You must specify at least one package to add. + + + Package reference `{0}` added to the project. + + + Project {0} already has a reference `{1}`. + + + Please specify a version of the package. + + + Project `{0}` does not exist. + + + Project `{0}` is invalid. + + + You must specify at least one project to add. + + + Project `{0}` added to the solution. + + + Solution {0} already contains project {1}. + + + Specified reference {0} does not exist in project {1}. + + + Reference `{0}` deleted from the project. + + + You must specify at least one reference to remove. + + + Reference `{0}` deleted. + + + Package reference `{0}` could not be found in the project. + + + Reference `{0}` deleted from the project. + + + You must specify at least one package reference to remove. + + + Package reference `{0}` deleted. + + + Project `{0}` could not be found in the solution. + + + Project `{0}` removed from solution. + + + You must specify at least one project to remove. + + + Project `{0}` deleted from solution. + + + There are no {0} references in project {1}. ;; {0} is the type of the item being requested (project, package, p2p) and {1} is the object operated on (a project file or a solution file). + + + No projects found in the solution. + + + The project or solution to operation on. If a file is not specified, the current directory is searched. + + + The project file to operate on. If a file is not specified, the command will search the current directory for one. + + + Solution file to operate on. If not specified, the command will search the current directory for one. + + + SLN_FILE + + + PROJECT + + + FRAMEWORK + + + Please specify new version of the package. + + + Please specify which package to update. + + + Nothing to update. + + + Everything is already up-to-date. + + + Version of package `{0}` updated to `{1}`. + + + Version of package `{0}` updated. + + + Could not update the version of the package `{0}`. + + + The template {0} created successfully. Please run "dotnet restore" to get started! + + + The template {0} installed successfully. You can use "dotnet new {0}" to get started with the new template. + + + Template {0} could not be created. Error returned was: {1}. + + + Template {0} could not be installed. Error returned was: {1}. + + + Specified name {0} already exists. Please specify a different name. + + + Specified alias {0} already exists. Please specify a different alias. + + + Mandatory parameter {0} missing for template {1}. + + + Project `{0}` cannot be added due to incompatible targeted frameworks between the two projects. Please review the project you are trying to add and verify that is compatible with the following targets: + + + Project `{0}` does not target framework `{1}`. + + + Project `{0}` could not be evaluated. Evaluation failed with following error: +{1}. + + + Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. + + + Target framework to publish for. The target framework has to be specified in the project file. + + + Publish the project for a given runtime. This is used when creating self-contained deployment. Default is to publish a framework-dependent app. + + + Configuration to use for building the project. Default for most projects is "Debug". + + + Defines the value for the $(VersionSuffix) property in the project. + + + Show help information. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-add/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/LocalizableStrings.cs deleted file mode 100644 index cca914239..000000000 --- a/src/dotnet/commands/dotnet-add/LocalizableStrings.cs +++ /dev/null @@ -1,10 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Add -{ - internal class LocalizableStrings - { - public const string NetAddCommand = ".NET Add Command"; - } -} diff --git a/src/dotnet/commands/dotnet-add/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/LocalizableStrings.resx new file mode 100644 index 000000000..0e0a56115 --- /dev/null +++ b/src/dotnet/commands/dotnet-add/LocalizableStrings.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Add Command + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs deleted file mode 100644 index a4514f2e0..000000000 --- a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs +++ /dev/null @@ -1,38 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Add.PackageReference -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Add Package reference Command"; - - public const string AppDescription = "Command to add package reference"; - - public const string CmdPackageDescription = "The package reference to add."; - - public const string SpecifyExactlyOnePackageReference = "Please specify one package reference to add."; - - public const string CmdFrameworkDescription = "Adds reference only when targeting a specific framework."; - - public const string CmdNoRestoreDescription = "Adds reference without performing restore preview and compatibility check."; - - public const string CmdSourceDescription = "Specifies NuGet package sources to use during the restore."; - - public const string CmdPackageDirectoryDescription = "Restores the packages to the specified directory."; - - public const string CmdVersionDescription = "Version for the package to be added."; - - public const string CmdDGFileException = "Unable to create dependency graph file for project '{0}'. Cannot add package reference."; - - public const string CmdPackage = "PACKAGE_NAME"; - - public const string CmdVersion = "VERSION"; - - public const string CmdFramework = "FRAMEWORK"; - - public const string CmdSource = "SOURCE"; - - public const string CmdPackageDirectory = "PACKAGE_DIRECTORY"; - } -} diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx new file mode 100644 index 000000000..c18e94039 --- /dev/null +++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Add Package reference Command + + + Command to add package reference + + + The package reference to add. + + + Please specify one package reference to add. + + + Adds reference only when targeting a specific framework. + + + Adds reference without performing restore preview and compatibility check. + + + Specifies NuGet package sources to use during the restore. + + + Restores the packages to the specified directory. + + + Version for the package to be added. + + + Unable to create dependency graph file for project '{0}'. Cannot add package reference. + + + PACKAGE_NAME + + + VERSION + + + FRAMEWORK + + + SOURCE + + + PACKAGE_DIRECTORY + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.cs deleted file mode 100644 index a3cc25377..000000000 --- a/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.cs +++ /dev/null @@ -1,14 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Add.ProjectToSolution -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Add Project to Solution Command"; - - public const string AppDescription = "Command to add project to solution"; - - public const string AppHelpText = "Projects to add to solution"; - } -} diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.resx new file mode 100644 index 000000000..a5810e897 --- /dev/null +++ b/src/dotnet/commands/dotnet-add/dotnet-add-proj/LocalizableStrings.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Add Project to Solution Command + + + Command to add project to solution + + + Projects to add to solution + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.cs deleted file mode 100644 index 0e87d24bd..000000000 --- a/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.cs +++ /dev/null @@ -1,16 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Add.ProjectToProjectReference -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Add Project to Project reference Command"; - - public const string AppDescription = "Command to add project to project reference"; - - public const string AppHelpText = "Project to project references to add"; - - public const string CmdFrameworkDescription = "Add reference only when targeting a specific framework"; - } -} diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx new file mode 100644 index 000000000..3dc5538e3 --- /dev/null +++ b/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Add Project to Project reference Command + + + Command to add project to project reference + + + Project to project references to add + + + Add reference only when targeting a specific framework + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs b/src/dotnet/commands/dotnet-build/LocalizableStrings.cs deleted file mode 100644 index 61fe7574c..000000000 --- a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs +++ /dev/null @@ -1,20 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Build -{ - internal class LocalizableStrings - { - public const string AppDescription = "Builder for the .NET Platform. Delegates to the MSBuild 'Build' target in the project file."; - - public const string AppFullName = ".NET Builder"; - - public const string NoDependenciesOptionDescription = "Set this flag to ignore project-to-project references and only build the root project"; - - public const string NoIncrementialOptionDescription = "Disables incremental build."; - - public const string OutputOptionDescription = "Output directory in which to place built artifacts."; - - public const string OutputOptionName = "OUTPUT_DIR"; - } -} diff --git a/src/dotnet/commands/dotnet-build/LocalizableStrings.resx b/src/dotnet/commands/dotnet-build/LocalizableStrings.resx new file mode 100644 index 000000000..418c52506 --- /dev/null +++ b/src/dotnet/commands/dotnet-build/LocalizableStrings.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Builder for the .NET Platform. Delegates to the MSBuild 'Build' target in the project file. + + + .NET Builder + + + Set this flag to ignore project-to-project references and only build the root project + + + Disables incremental build. + + + Output directory in which to place built artifacts. + + + OUTPUT_DIR + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs b/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs deleted file mode 100644 index 8cd76c8a9..000000000 --- a/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs +++ /dev/null @@ -1,16 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Clean -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Clean Command"; - - public const string AppDescription = "Command to clean previously generated build outputs."; - - public const string CmdOutputDir = "OUTPUT_DIR"; - - public const string CmdOutputDirDescription = "Directory in which the build outputs have been placed."; - } -} diff --git a/src/dotnet/commands/dotnet-clean/LocalizableStrings.resx b/src/dotnet/commands/dotnet-clean/LocalizableStrings.resx new file mode 100644 index 000000000..96c19f35b --- /dev/null +++ b/src/dotnet/commands/dotnet-clean/LocalizableStrings.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Clean Command + + + Command to clean previously generated build outputs. + + + OUTPUT_DIR + + + Directory in which the build outputs have been placed. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-help/LocalizableStrings.cs b/src/dotnet/commands/dotnet-help/LocalizableStrings.cs deleted file mode 100644 index 375676f1c..000000000 --- a/src/dotnet/commands/dotnet-help/LocalizableStrings.cs +++ /dev/null @@ -1,102 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Help -{ - internal class LocalizableStrings - { - public const string Usage = "Usage"; - - public const string Arguments = "Arguments"; - - public const string CommandDefinition = "The command to execute"; - - public const string ArgumentsDefinition = "Arguments to pass to the command"; - - public const string HostOptionsDefinition = "Options specific to dotnet (host)"; - - public const string OptionsDescription = "Options common to all commands"; - - public const string CommonOptions = "Common options"; - - public const string DiagnosticsDefinition = "Enable diagnostic output"; - - public const string HelpDefinition = "Show help."; - - public const string HostOptions = "Host options (passed before the command)"; - - public const string VersionDescription = "Display .NET CLI Version Number"; - - public const string InfoDescription = "Display .NET CLI Info"; - - public const string Commands = "SDK commands"; - - public const string NewDefinition = "Initialize .NET projects."; - - public const string RestoreDefinition = "Restore dependencies specified in the .NET project."; - - public const string BuildDefinition = "Builds a .NET project."; - - public const string PublishDefinition = "Publishes a .NET project for deployment (including the runtime)."; - - public const string RunDefinition = "Compiles and immediately executes a .NET project."; - - public const string TestDefinition = "Runs unit tests using the test runner specified in the project."; - - public const string PackDefinition = "Creates a NuGet package."; - - public const string MigrateDefinition = "Migrates a project.json based project to a msbuild based project."; - - public const string ProjectModificationCommands = "Project modification commands"; - - public const string AddDefinition = "Add reference to the project."; - - public const string RemoveDefinition = "Remove reference from the project."; - - public const string ListDefinition = "List reference in the project."; - - public const string AdvancedCommands = "Advanced Commands"; - - public const string NugetDefinition = "Provides additional NuGet commands."; - - public const string MsBuildDefinition = "Runs Microsoft Build Engine (MSBuild)."; - - public const string VsTestDefinition = "Runs Microsoft Test Execution Command Line Tool."; - - public const string CleanDefinition = "Clean build output(s)."; - - public const string SlnDefinition = "Modify solution (SLN) files."; - - public const string CommandDoesNotExist = "Specified command '{0}' is not a valid CLI command. Please specify a valid CLI commands. For more information, run dotnet help."; - - public const string AppFullName = ".NET CLI help utility"; - - public const string AppDescription = "Utility to get more detailed help about each of the CLI commands."; - - public const string CommandArgumentName = "COMMAND_NAME"; - - public const string CommandArgumentDescription = "CLI command for which to view more detailed help."; - - public const string PathToApplicationDefinition = "The path to an application .dll file to execute."; - - public const string SDKVersionCommandDefinition = "Display .NET Core SDK version."; - - public const string SDKInfoCommandDefinition = "Display .NET Core information."; - - public const string SDKDiagnosticsCommandDefinition = "Enable diagnostic output."; - - public const string RunDotnetCommandHelpForMore = "Run 'dotnet COMMAND --help' for more information on a command."; - - public const string AdditionalprobingpathDefinition = "Path containing probing policy and assemblies to probe for."; - - public const string DepsfilDefinition = "Path to .deps.json file."; - - public const string RuntimeconfigDefinition = "Path to .runtimeconfig.json file."; - - public const string FxVersionDefinition = "Version of the installed Shared Framework to use to run the application."; - - public const string RollForwardOnNoCandidateFxDefinition = "Roll forward on no candidate shared framework is enabled."; - - public const string AdditionalDeps = "Path to additonal deps.json file."; - } -} diff --git a/src/dotnet/commands/dotnet-help/LocalizableStrings.resx b/src/dotnet/commands/dotnet-help/LocalizableStrings.resx new file mode 100644 index 000000000..5552d40c5 --- /dev/null +++ b/src/dotnet/commands/dotnet-help/LocalizableStrings.resx @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Usage + + + Arguments + + + The command to execute + + + Arguments to pass to the command + + + Options specific to dotnet (host) + + + Options common to all commands + + + Common options + + + Enable diagnostic output + + + Show help. + + + Host options (passed before the command) + + + Display .NET CLI Version Number + + + Display .NET CLI Info + + + SDK commands + + + Initialize .NET projects. + + + Restore dependencies specified in the .NET project. + + + Builds a .NET project. + + + Publishes a .NET project for deployment (including the runtime). + + + Compiles and immediately executes a .NET project. + + + Runs unit tests using the test runner specified in the project. + + + Creates a NuGet package. + + + Migrates a project.json based project to a msbuild based project. + + + Project modification commands + + + Add reference to the project. + + + Remove reference from the project. + + + List reference in the project. + + + Advanced Commands + + + Provides additional NuGet commands. + + + Runs Microsoft Build Engine (MSBuild). + + + Runs Microsoft Test Execution Command Line Tool. + + + Clean build output(s). + + + Modify solution (SLN) files. + + + Specified command '{0}' is not a valid CLI command. Please specify a valid CLI commands. For more information, run dotnet help. + + + .NET CLI help utility + + + Utility to get more detailed help about each of the CLI commands. + + + COMMAND_NAME + + + CLI command for which to view more detailed help. + + + The path to an application .dll file to execute. + + + Display .NET Core SDK version. + + + Display .NET Core information. + + + Enable diagnostic output. + + + Run 'dotnet COMMAND --help' for more information on a command. + + + Path containing probing policy and assemblies to probe for. + + + Path to <application>.deps.json file. + + + Path to <application>.runtimeconfig.json file. + + + Version of the installed Shared Framework to use to run the application. + + + Roll forward on no candidate shared framework is enabled. + + + Path to additonal deps.json file. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-list/LocalizableStrings.cs b/src/dotnet/commands/dotnet-list/LocalizableStrings.cs deleted file mode 100644 index 66425450d..000000000 --- a/src/dotnet/commands/dotnet-list/LocalizableStrings.cs +++ /dev/null @@ -1,10 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.List -{ - internal class LocalizableStrings - { - public const string NetListCommand = ".NET List Command"; - } -} diff --git a/src/dotnet/commands/dotnet-list/LocalizableStrings.resx b/src/dotnet/commands/dotnet-list/LocalizableStrings.resx new file mode 100644 index 000000000..41c12481c --- /dev/null +++ b/src/dotnet/commands/dotnet-list/LocalizableStrings.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET List Command + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.cs b/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.cs deleted file mode 100644 index e18cea956..000000000 --- a/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.cs +++ /dev/null @@ -1,12 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.List.ProjectsInSolution -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Projects in Solution viewer"; - - public const string AppDescription = "Command to list projects in a solution"; - } -} diff --git a/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.resx b/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.resx new file mode 100644 index 000000000..a7913dc1d --- /dev/null +++ b/src/dotnet/commands/dotnet-list/dotnet-list-proj/LocalizableStrings.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Projects in Solution viewer + + + Command to list projects in a solution + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.cs b/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.cs deleted file mode 100644 index 4bf2d2a83..000000000 --- a/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.cs +++ /dev/null @@ -1,14 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.List.ProjectToProjectReferences -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Core Project-to-Project dependency viewer"; - - public const string AppDescription = "Command to list project to project references"; - - public const string NoReferencesFound = "There are no {0} references in project {1}.\n{0} is the type of the item being requested (project, package, p2p) and {1} is the object operated on (a project file or a solution file). "; - } -} diff --git a/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.resx b/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.resx new file mode 100644 index 000000000..5536ff5ef --- /dev/null +++ b/src/dotnet/commands/dotnet-list/dotnet-list-reference/LocalizableStrings.resx @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Core Project-to-Project dependency viewer + + + Command to list project to project references + + + There are no {0} references in project {1}. +{0} is the type of the item being requested (project, package, p2p) and {1} is the object operated on (a project file or a solution file). + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs deleted file mode 100644 index 08ad32f28..000000000 --- a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs +++ /dev/null @@ -1,67 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Migrate -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Migrate Command"; - - public const string AppDescription = "Command used to migrate project.json projects to msbuild"; - - public const string CmdProjectArgument = "PROJECT_JSON/GLOBAL_JSON/SOLUTION_FILE/PROJECT_DIR"; - public const string CmdProjectArgumentDescription = -@"The path to one of the following: - - a project.json file to migrate. - - a global.json file, it will migrate the folders specified in global.json. - - a solution.sln file, it will migrate the projects referenced in the solution. - - a directory to migrate, it will recursively search for project.json files to migrate. -Defaults to current directory if nothing is specified."; - - public const string CmdTemplateDescription = "Base MSBuild template to use for migrated app. The default is the project included in dotnet new."; - - public const string CmdVersionDescription = "The version of the SDK package that will be referenced in the migrated app. The default is the version of the SDK in dotnet new."; - - public const string CmdXprojFileDescription = "The path to the xproj file to use. Required when there is more than one xproj in a project directory."; - - public const string CmdSkipProjectReferencesDescription = "Skip migrating project references. By default, project references are migrated recursively."; - - public const string CmdReportFileDescription = "Output migration report to the given file in addition to the console."; - - public const string CmdReportOutputDescription = "Output migration report file as json rather than user messages."; - - public const string CmdSkipBackupDescription = "Skip moving project.json, global.json, and *.xproj to a `backup` directory after successful migration."; - - public const string MigrationFailedError = "Migration failed."; - - public const string MigrationAdditionalHelp = "The project migration has finished. Please visit https://aka.ms/coremigration to report any issues you've encountered or ask for help."; - - public const string MigrationReportSummary = "Summary"; - - public const string MigrationReportTotalProjects = "Total Projects: {0}"; - - public const string MigrationReportSucceededProjects = "Succeeded Projects: {0}"; - - public const string MigrationReportFailedProjects = "Failed Projects: {0}"; - - public const string ProjectMigrationSucceeded = "Project {0} migration succeeded ({1})."; - - public const string ProjectMigrationFailed = "Project {0} migration failed ({1})."; - - public const string MigrationFailedToFindProjectInGlobalJson = "Unable to find any projects in global.json."; - - public const string MigrationUnableToFindProjects = "Unable to find any projects in {0}."; - - public const string MigrationProjectJsonNotFound = "No project.json file found in '{0}'."; - - public const string MigrationInvalidProjectArgument = "Invalid project argument - '{0}' is not a project.json, global.json, or solution.sln file and a directory named '{0}' doesn't exist."; - - public const string MigratonUnableToFindProjectJson = "Unable to find project.json file at {0}."; - - public const string MigrationUnableToFindGlobalJson = "Unable to find global settings file at {0}."; - - public const string MigrationUnableToFindSolutionFile = "Unable to find the solution file at {0}."; - - public const string MigrateFilesBackupLocation = "Files backed up to {0}"; - } -} diff --git a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.resx b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.resx new file mode 100644 index 000000000..b86e0da0d --- /dev/null +++ b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.resx @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Migrate Command + + + Command used to migrate project.json projects to msbuild + + + PROJECT_JSON/GLOBAL_JSON/SOLUTION_FILE/PROJECT_DIR + + + The path to one of the following: + - a project.json file to migrate. + - a global.json file, it will migrate the folders specified in global.json. + - a solution.sln file, it will migrate the projects referenced in the solution. + - a directory to migrate, it will recursively search for project.json files to migrate. +Defaults to current directory if nothing is specified. + + + Base MSBuild template to use for migrated app. The default is the project included in dotnet new. + + + The version of the SDK package that will be referenced in the migrated app. The default is the version of the SDK in dotnet new. + + + The path to the xproj file to use. Required when there is more than one xproj in a project directory. + + + Skip migrating project references. By default, project references are migrated recursively. + + + Output migration report to the given file in addition to the console. + + + Output migration report file as json rather than user messages. + + + Skip moving project.json, global.json, and *.xproj to a `backup` directory after successful migration. + + + Migration failed. + + + The project migration has finished. Please visit https://aka.ms/coremigration to report any issues you've encountered or ask for help. + + + Summary + + + Total Projects: {0} + + + Succeeded Projects: {0} + + + Failed Projects: {0} + + + Project {0} migration succeeded ({1}). + + + Project {0} migration failed ({1}). + + + Unable to find any projects in global.json. + + + Unable to find any projects in {0}. + + + No project.json file found in '{0}'. + + + Invalid project argument - '{0}' is not a project.json, global.json, or solution.sln file and a directory named '{0}' doesn't exist. + + + Unable to find project.json file at {0}. + + + Unable to find global settings file at {0}. + + + Unable to find the solution file at {0}. + + + Files backed up to {0} + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs deleted file mode 100644 index dae4177ba..000000000 --- a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs +++ /dev/null @@ -1,10 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.MSBuild -{ - internal class LocalizableStrings - { - public const string VerbosityOptionDescription = "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]"; - } -} diff --git a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.resx b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.resx new file mode 100644 index 000000000..e1c8a7c9f --- /dev/null +++ b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs b/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs deleted file mode 100644 index 28d37315d..000000000 --- a/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs +++ /dev/null @@ -1,28 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Pack -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Core NuGet Package Packer"; - - public const string AppDescription = "pack for msbuild"; - - public const string CmdOutputDir = "OUTPUT_DIR"; - - public const string CmdOutputDirDescription = "Directory in which to place built packages."; - - public const string CmdNoBuildOptionDescription = "Skip building the project prior to packing. By default, the project will be built."; - - public const string CmdIncludeSymbolsDescription = "Include packages with symbols in addition to regular packages in output directory."; - - public const string CmdIncludeSourceDescription = "Include PDBs and source files. Source files go into the src folder in the resulting nuget package"; - - public const string CmdServiceableDescription = "Set the serviceable flag in the package. For more information, please see https://aka.ms/nupkgservicing."; - - public const string CmdArgumentProject = "PROJECT"; - - public const string CmdArgumentDescription = "The project to pack, defaults to the project file in the current directory. Can be a path to any project file"; - } -} diff --git a/src/dotnet/commands/dotnet-pack/LocalizableStrings.resx b/src/dotnet/commands/dotnet-pack/LocalizableStrings.resx new file mode 100644 index 000000000..d297d15e2 --- /dev/null +++ b/src/dotnet/commands/dotnet-pack/LocalizableStrings.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Core NuGet Package Packer + + + pack for msbuild + + + OUTPUT_DIR + + + Directory in which to place built packages. + + + Skip building the project prior to packing. By default, the project will be built. + + + Include packages with symbols in addition to regular packages in output directory. + + + Include PDBs and source files. Source files go into the src folder in the resulting nuget package + + + Set the serviceable flag in the package. For more information, please see https://aka.ms/nupkgservicing. + + + PROJECT + + + The project to pack, defaults to the project file in the current directory. Can be a path to any project file + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs b/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs deleted file mode 100644 index a1ebc0a2b..000000000 --- a/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs +++ /dev/null @@ -1,24 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Publish -{ - internal class LocalizableStrings - { - public const string AppDescription = "Publisher for the .NET Platform"; - - public const string FrameworkOption = "FRAMEWORK"; - - public const string FrameworkOptionDescription = "Target framework to publish for. The target framework has to be specified in the project file."; - - public const string OutputOption = "OUTPUT_DIR"; - - public const string OutputOptionDescription = "Output directory in which to place the published artifacts."; - - public const string ManifestOption = "manifest.xml"; - - public const string ManifestOptionDescription = "The path to a target manifest file that contains the list of packages to be excluded from the publish step."; - - public const string SelfContainedOptionDescription = "Publish the .NET Core runtime with your application so the runtime doesn't need to be installed on the target machine. Defaults to 'true' if a runtime identifier is specified."; - } -} diff --git a/src/dotnet/commands/dotnet-publish/LocalizableStrings.resx b/src/dotnet/commands/dotnet-publish/LocalizableStrings.resx new file mode 100644 index 000000000..e11675be8 --- /dev/null +++ b/src/dotnet/commands/dotnet-publish/LocalizableStrings.resx @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Publisher for the .NET Platform + + + FRAMEWORK + + + Target framework to publish for. The target framework has to be specified in the project file. + + + OUTPUT_DIR + + + Output directory in which to place the published artifacts. + + + manifest.xml + + + The path to a target manifest file that contains the list of packages to be excluded from the publish step. + + + Publish the .NET Core runtime with your application so the runtime doesn't need to be installed on the target machine. Defaults to 'true' if a runtime identifier is specified. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs deleted file mode 100644 index 5f88aa844..000000000 --- a/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs +++ /dev/null @@ -1,10 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Remove -{ - internal class LocalizableStrings - { - public const string NetRemoveCommand = ".NET Remove Command"; - } -} diff --git a/src/dotnet/commands/dotnet-remove/LocalizableStrings.resx b/src/dotnet/commands/dotnet-remove/LocalizableStrings.resx new file mode 100644 index 000000000..1f2a8221a --- /dev/null +++ b/src/dotnet/commands/dotnet-remove/LocalizableStrings.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Remove Command + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs deleted file mode 100644 index 55186bf11..000000000 --- a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs +++ /dev/null @@ -1,17 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Remove.PackageReference -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Remove Package reference Command."; - - public const string AppDescription = "Command to remove package reference."; - - public const string AppHelpText = "Package reference to remove."; - - public const string SpecifyExactlyOnePackageReference = "Please specify only one package reference to remove."; - - } -} diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.resx b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.resx new file mode 100644 index 000000000..969e55a2d --- /dev/null +++ b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Remove Package reference Command. + + + Command to remove package reference. + + + Package reference to remove. + + + Please specify only one package reference to remove. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.cs deleted file mode 100644 index 50d12b8c0..000000000 --- a/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.cs +++ /dev/null @@ -1,14 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Remove.ProjectFromSolution -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Remove Project from Solution Command"; - - public const string AppDescription = "Command to remove projects from a solution"; - - public const string AppHelpText = "Projects to remove from a solution"; - } -} diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.resx b/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.resx new file mode 100644 index 000000000..8b30c41cf --- /dev/null +++ b/src/dotnet/commands/dotnet-remove/dotnet-remove-proj/LocalizableStrings.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Remove Project from Solution Command + + + Command to remove projects from a solution + + + Projects to remove from a solution + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.cs deleted file mode 100644 index de954c2d8..000000000 --- a/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.cs +++ /dev/null @@ -1,16 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Remove.ProjectToProjectReference -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Remove Project to Project reference Command"; - - public const string AppDescription = "Command to remove project to project reference"; - - public const string AppHelpText = "Project to project references to remove"; - - public const string CmdFrameworkDescription = "Remove reference only when targeting a specific framework"; - } -} diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.resx b/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.resx new file mode 100644 index 000000000..7952e0f6b --- /dev/null +++ b/src/dotnet/commands/dotnet-remove/dotnet-remove-reference/LocalizableStrings.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Remove Project to Project reference Command + + + Command to remove project to project reference + + + Project to project references to remove + + + Remove reference only when targeting a specific framework + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs b/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs deleted file mode 100644 index e502c8fc8..000000000 --- a/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs +++ /dev/null @@ -1,40 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Restore -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET dependency restorer"; - - public const string AppDescription = "restore for msbuild"; - - public const string CmdArgument = "PROJECT"; - - public const string CmdArgumentDescription = "Optional path to a project file or MSBuild arguments."; - - public const string CmdSourceOption = "SOURCE"; - - public const string CmdSourceOptionDescription = "Specifies a NuGet package source to use during the restore."; - - public const string CmdRuntimeOption = "RUNTIME_IDENTIFIER"; - - public const string CmdRuntimeOptionDescription = "Target runtime to restore packages for."; - - public const string CmdPackagesOption = "PACKAGES_DIRECTORY"; - - public const string CmdPackagesOptionDescription = "Directory to install packages in."; - - public const string CmdDisableParallelOptionDescription = "Disables restoring multiple projects in parallel."; - - public const string CmdConfigFileOption = "FILE"; - - public const string CmdConfigFileOptionDescription = "The NuGet configuration file to use."; - - public const string CmdNoCacheOptionDescription = "Do not cache packages and http requests."; - - public const string CmdIgnoreFailedSourcesOptionDescription = "Treat package source failures as warnings."; - - public const string CmdNoDependenciesOptionDescription = "Set this flag to ignore project to project references and only restore the root project."; - } -} diff --git a/src/dotnet/commands/dotnet-restore/LocalizableStrings.resx b/src/dotnet/commands/dotnet-restore/LocalizableStrings.resx new file mode 100644 index 000000000..6ffdc38b3 --- /dev/null +++ b/src/dotnet/commands/dotnet-restore/LocalizableStrings.resx @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET dependency restorer + + + restore for msbuild + + + PROJECT + + + Optional path to a project file or MSBuild arguments. + + + SOURCE + + + Specifies a NuGet package source to use during the restore. + + + RUNTIME_IDENTIFIER + + + Target runtime to restore packages for. + + + PACKAGES_DIRECTORY + + + Directory to install packages in. + + + Disables restoring multiple projects in parallel. + + + FILE + + + The NuGet configuration file to use. + + + Do not cache packages and http requests. + + + Treat package source failures as warnings. + + + Set this flag to ignore project to project references and only restore the root project. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs b/src/dotnet/commands/dotnet-run/LocalizableStrings.cs deleted file mode 100644 index bf700eece..000000000 --- a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs +++ /dev/null @@ -1,56 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Run -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Run Command"; - - public const string AppDescription = "Command used to run .NET apps"; - - public const string CommandOptionNoBuildDescription = "Skip building the project prior to running. By default, the project will be built."; - - public const string CommandOptionFrameworkDescription = "Build and run the app using the specified framework. The framework has to be specified in the project file. "; - - public const string CommandOptionNoBuild = "Do not build the project before running."; - - public const string CommandOptionProjectDescription = "The path to the project file to run (defaults to the current directory if there is only one project)."; - - public const string CommandOptionLaunchProfileDescription = "The name of the launch profile (if any) to use when launching the application."; - - public const string CommandOptionNoLaunchProfileDescription = "Do not attempt to use launchSettings.json to configure the application."; - - public const string RunCommandException = "The build failed. Please fix the build errors and run again."; - - public const string RunCommandExceptionUnableToRunSpecifyFramework = "Unable to run your project\nYour project targets multiple frameworks. Please specify which framework to run using '{0}'."; - - public const string RunCommandExceptionUnableToRun = "Unable to run your project.\nPlease ensure you have a runnable project type and ensure '{0}' supports this project.\nA runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'.\nThe current {1} is '{2}'."; - - public const string RunCommandExceptionNoProjects = "Couldn't find a project to run. Ensure a project exists in {0}, or pass the path to the project using {1}."; - - public const string RunCommandExceptionMultipleProjects = "Specify which project file to use because {0} contains more than one project file."; - - public const string RunCommandAdditionalArgsHelpText = "Arguments passed to the application that is being run."; - - public const string RunCommandExceptionCouldNotLocateALaunchSettingsFile = "The specified launch profile could not be located."; - - public const string RunCommandExceptionCouldNotApplyLaunchSettings = "The launch profile \"{0}\" could not be applied.\n{1}"; - - public const string DefaultLaunchProfileDisplayName = "(Default)"; - - public const string UsingLaunchSettingsFromMessage = "Using launch settings from {0}..."; - - public const string LaunchProfileIsNotAJsonObject = "Launch profile is not a JSON object."; - - public const string LaunchProfileHandlerCannotBeLocated = "The launch profile type '{0}' is not supported."; - - public const string UsableLaunchProfileCannotBeLocated = "A usable launch profile could not be located."; - - public const string UnexpectedExceptionProcessingLaunchSettings = "An unexpected exception occurred while processing launch settings:\n{0}"; - - public const string LaunchProfilesCollectionIsNotAJsonObject = "The 'profiles' property of the launch settings document is not a JSON object."; - - public const string DeserializationExceptionMessage = "An error was encountered when reading launchSettings.json.\n{0}"; - } -} diff --git a/src/dotnet/commands/dotnet-run/LocalizableStrings.resx b/src/dotnet/commands/dotnet-run/LocalizableStrings.resx new file mode 100644 index 000000000..976312b28 --- /dev/null +++ b/src/dotnet/commands/dotnet-run/LocalizableStrings.resx @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Run Command + + + Command used to run .NET apps + + + Skip building the project prior to running. By default, the project will be built. + + + Build and run the app using the specified framework. The framework has to be specified in the project file. + + + Do not build the project before running. + + + The path to the project file to run (defaults to the current directory if there is only one project). + + + The name of the launch profile (if any) to use when launching the application. + + + Do not attempt to use launchSettings.json to configure the application. + + + The build failed. Please fix the build errors and run again. + + + Unable to run your project +Your project targets multiple frameworks. Please specify which framework to run using '{0}'. + + + Unable to run your project. +Please ensure you have a runnable project type and ensure '{0}' supports this project. +A runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'. +The current {1} is '{2}'. + + + Couldn't find a project to run. Ensure a project exists in {0}, or pass the path to the project using {1}. + + + Specify which project file to use because {0} contains more than one project file. + + + Arguments passed to the application that is being run. + + + The specified launch profile could not be located. + + + The launch profile "{0}" could not be applied. +{1} + + + (Default) + + + Using launch settings from {0}... + + + Launch profile is not a JSON object. + + + The launch profile type '{0}' is not supported. + + + A usable launch profile could not be located. + + + An unexpected exception occurred while processing launch settings: +{0} + + + The 'profiles' property of the launch settings document is not a JSON object. + + + An error was encountered when reading launchSettings.json. +{0} + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs b/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs deleted file mode 100644 index 4e7fef500..000000000 --- a/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs +++ /dev/null @@ -1,27 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Sln -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET modify solution file command"; - - public const string AppDescription = "Command to add, remove, and list projects from the solution (SLN) file."; - - public const string AppHelpText = "Projects to add or to remove from the solution."; - - public const string AddAppFullName = ".NET Add project(s) to a solution file Command"; - public const string AddSubcommandHelpText = "Add one or more specified projects to the solution."; - - public const string RemoveAppFullName = ".NET Remove project(s) from a solution file Command"; - public const string RemoveSubcommandHelpText = "Remove the specified project(s) from the solution. The project is not impacted."; - - public const string ListAppFullName = ".NET List project(s) in a solution file Command"; - public const string ListSubcommandHelpText = "List all projects in the solution."; - - public const string CreateAppFullName = ".NET Create a solution file Command"; - public const string CreateSubcommandHelpText = "Create a solution file."; - - } -} diff --git a/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx b/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx new file mode 100644 index 000000000..942139ebe --- /dev/null +++ b/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET modify solution file command + + + Command to add, remove, and list projects from the solution (SLN) file. + + + Projects to add or to remove from the solution. + + + .NET Add project(s) to a solution file Command + + + Add one or more specified projects to the solution. + + + .NET Remove project(s) from a solution file Command + + + Remove the specified project(s) from the solution. The project is not impacted. + + + .NET List project(s) in a solution file Command + + + List all projects in the solution. + + + .NET Create a solution file Command + + + Create a solution file. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-store/LocalizableStrings.cs b/src/dotnet/commands/dotnet-store/LocalizableStrings.cs deleted file mode 100644 index 164d42aba..000000000 --- a/src/dotnet/commands/dotnet-store/LocalizableStrings.cs +++ /dev/null @@ -1,34 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Store -{ - internal class LocalizableStrings - { - public const string AppDescription = "Stores the specified assemblies for the .NET Platform. By default, these will be optimized for the target runtime and framework."; - - public const string ProjectManifest = "PROJECT_MANIFEST"; - - public const string ProjectManifestDescription = "The XML file that contains the list of packages to be stored."; - - public const string OutputOption = "OUTPUT_DIR"; - - public const string OutputOptionDescription = "Output directory in which to store the given assemblies."; - - public const string FrameworkVersionOption = "FrameworkVersion"; - - public const string FrameworkVersionOptionDescription = "The Microsoft.NETCore.App package version that will be used to run the assemblies."; - - public const string SkipOptimizationOptionDescription = "Skips the optimization phase."; - - public const string SkipSymbolsOptionDescription = "Skips creating symbol files which can be used for profiling the optimized assemblies."; - - public const string IntermediateWorkingDirOption = "IntermediateWorkingDir"; - - public const string IntermediateWorkingDirOptionDescription = "The directory used by the command to execute."; - - public const string SpecifyManifests = "Specify at least one manifest with --manifest."; - - public const string IntermediateDirExists = "Intermediate working directory {0} already exists. Remove {0} or specify another directory with -w."; - } -} diff --git a/src/dotnet/commands/dotnet-store/LocalizableStrings.resx b/src/dotnet/commands/dotnet-store/LocalizableStrings.resx new file mode 100644 index 000000000..0b1b56e8b --- /dev/null +++ b/src/dotnet/commands/dotnet-store/LocalizableStrings.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Stores the specified assemblies for the .NET Platform. By default, these will be optimized for the target runtime and framework. + + + PROJECT_MANIFEST + + + The XML file that contains the list of packages to be stored. + + + OUTPUT_DIR + + + Output directory in which to store the given assemblies. + + + FrameworkVersion + + + The Microsoft.NETCore.App package version that will be used to run the assemblies. + + + Skips the optimization phase. + + + Skips creating symbol files which can be used for profiling the optimized assemblies. + + + IntermediateWorkingDir + + + The directory used by the command to execute. + + + Specify at least one manifest with --manifest. + + + Intermediate working directory {0} already exists. Remove {0} or specify another directory with -w. + + \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-test/LocalizableStrings.cs b/src/dotnet/commands/dotnet-test/LocalizableStrings.cs deleted file mode 100644 index fbe9ba5c0..000000000 --- a/src/dotnet/commands/dotnet-test/LocalizableStrings.cs +++ /dev/null @@ -1,80 +0,0 @@ -// 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. - -namespace Microsoft.DotNet.Tools.Test -{ - internal class LocalizableStrings - { - public const string AppFullName = ".NET Test Driver"; - - public const string AppDescription = "Test Driver for the .NET Platform"; - - public const string CmdArgProject = "PROJECT"; - - public const string CmdArgDescription = "The project to test. Defaults to the current directory."; - - public const string CmdSettingsFile = "SETTINGS_FILE"; - - public const string CmdSettingsDescription = "Settings to use when running tests."; - - public const string CmdListTestsDescription = @"Lists discovered tests"; - - public const string CmdTestCaseFilterExpression = "EXPRESSION"; - - public const string CmdTestCaseFilterDescription = @"Run tests that match the given expression. - Examples: - Run tests with priority set to 1: --filter ""Priority = 1"" - Run a test with the specified full name: --filter ""FullyQualifiedName=Namespace.ClassName.MethodName"" - Run tests that contain the specified name: --filter ""FullyQualifiedName~Namespace.Class"" - More info on filtering support: https://aka.ms/vstest-filtering - "; - - public const string CmdTestAdapterPathDescription = @"Use custom adapters from the given path in the test run. - Example: --test-adapter-path "; - - public const string CmdTestAdapterPath = "PATH_TO_ADAPTER"; - - public const string CmdLoggerOption = "LoggerUri/FriendlyName"; - - public const string CmdLoggerDescription = @"Specify a logger for test results. - Example: --logger ""trx[;LogFileName=]"" - More info on logger arguments support:https://aka.ms/vstest-report"; - - public const string CmdConfiguration = "CONFIGURATION"; - - public const string CmdConfigDescription = "Configuration to use for building the project. Default for most projects is \"Debug\"."; - - public const string CmdFramework = "FRAMEWORK"; - - public const string CmdFrameworkDescription = @"Looks for test binaries for a specific framework"; - - public const string CmdOutputDir = "OUTPUT_DIR"; - - public const string CmdOutputDescription = @"Directory in which to find the binaries to be run"; - - public const string CmdPathToLogFile = "PATH_TO_FILE"; - - public const string CmdPathTologFileDescription = @"Enable verbose logs for test platform. - Logs are written to the provided file."; - - public const string CmdNoBuildDescription = @"Do not build project before testing."; - - public const string CmdResultsDirectoryDescription = @"The directory where the test results are going to be placed. The specified directory will be created if it does not exist. - Example: --results-directory "; - - public const string CmdPathToResultsDirectory = "PATH_TO_RESULTS_DIRECTORY"; - - public const string RunSettingsArgumentsDescription = @" - -RunSettings arguments: - Arguments to pass runsettings configurations through commandline. Arguments may be specified as name-value pair of the form [name]=[value] after ""-- "". Note the space after --. - Use a space to separate multiple[name] =[value]. - More info on RunSettings arguments support: https://aka.ms/vstest-runsettings-arguments - Example: dotnet test -- MSTest.DeploymentEnabled=false MSTest.MapInconclusiveToFailed=True"; - - public const string cmdCollectFriendlyName = "DATA_COLLECTOR_FRIENDLY_NAME"; - - public const string cmdCollectDescription = @"Enables data collector for the test run. - More info here : https://aka.ms/vstest-collect"; - } -} diff --git a/src/dotnet/commands/dotnet-test/LocalizableStrings.resx b/src/dotnet/commands/dotnet-test/LocalizableStrings.resx new file mode 100644 index 000000000..1ff6b6d07 --- /dev/null +++ b/src/dotnet/commands/dotnet-test/LocalizableStrings.resx @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + .NET Test Driver + + + Test Driver for the .NET Platform + + + PROJECT + + + The project to test. Defaults to the current directory. + + + SETTINGS_FILE + + + Settings to use when running tests. + + + Lists discovered tests + + + EXPRESSION + + + Run tests that match the given expression. + Examples: + Run tests with priority set to 1: --filter "Priority = 1" + Run a test with the specified full name: --filter "FullyQualifiedName=Namespace.ClassName.MethodName" + Run tests that contain the specified name: --filter "FullyQualifiedName~Namespace.Class" + More info on filtering support: https://aka.ms/vstest-filtering + + + + Use custom adapters from the given path in the test run. + Example: --test-adapter-path <PATH_TO_ADAPTER> + + + PATH_TO_ADAPTER + + + LoggerUri/FriendlyName + + + Specify a logger for test results. + Example: --logger "trx[;LogFileName=<Defaults to unique file name>]" + More info on logger arguments support:https://aka.ms/vstest-report + + + CONFIGURATION + + + Configuration to use for building the project. Default for most projects is "Debug". + + + FRAMEWORK + + + Looks for test binaries for a specific framework + + + OUTPUT_DIR + + + Directory in which to find the binaries to be run + + + PATH_TO_FILE + + + Enable verbose logs for test platform. + Logs are written to the provided file. + + + Do not build project before testing. + + + The directory where the test results are going to be placed. The specified directory will be created if it does not exist. + Example: --results-directory <PATH_TO_RESULTS_DIRECTORY> + + + PATH_TO_RESULTS_DIRECTORY + + + + +RunSettings arguments: + Arguments to pass runsettings configurations through commandline. Arguments may be specified as name-value pair of the form [name]=[value] after "-- ". Note the space after --. + Use a space to separate multiple[name] =[value]. + More info on RunSettings arguments support: https://aka.ms/vstest-runsettings-arguments + Example: dotnet test -- MSTest.DeploymentEnabled=false MSTest.MapInconclusiveToFailed=True + + + DATA_COLLECTOR_FRIENDLY_NAME + + + Enables data collector for the test run. + More info here : https://aka.ms/vstest-collect + + \ No newline at end of file diff --git a/src/dotnet/dotnet.csproj b/src/dotnet/dotnet.csproj index 397741eae..67f099dd9 100644 --- a/src/dotnet/dotnet.csproj +++ b/src/dotnet/dotnet.csproj @@ -15,6 +15,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + +