Merge pull request #6781 from nguerrera/loc
Convert LocalizableStrings.cs to resx and actually use resources for localization
This commit is contained in:
commit
883c5d13e8
65 changed files with 4895 additions and 1082 deletions
45
build/GenerateResxSource.targets
Normal file
45
build/GenerateResxSource.targets
Normal file
|
@ -0,0 +1,45 @@
|
|||
<Project>
|
||||
|
||||
<UsingTask TaskName="GenerateResxSource" AssemblyFile="$(CLIBuildDll)" />
|
||||
|
||||
<Target Name="GenerateResxSource"
|
||||
BeforeTargets="CoreCompile"
|
||||
DependsOnTargets="PrepareResourceNames;
|
||||
GetEmbeddedResourcesWithSourceGeneration;
|
||||
BatchGenerateResxSource">
|
||||
<ItemGroup>
|
||||
<GeneratedResxSource Include="@(EmbeddedResourceSG->'%(SourceOutputPath)')" />
|
||||
<FileWrites Include="@(GeneratedResxSource)" />
|
||||
<Compile Include="@(GeneratedResxSource)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="CustomizeResourceNames"
|
||||
BeforeTargets="PrepareResourceNames"
|
||||
>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource>
|
||||
<ManifestResourceName Condition="'%(EmbeddedResource.Namespace)' != ''">%(EmbeddedResource.Namespace).%(EmbeddedResource.Filename)</ManifestResourceName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="BatchGenerateResxSource"
|
||||
Inputs="@(EmbeddedResourceSG)"
|
||||
Outputs="%(EmbeddedResourceSG.SourceOutputPath)"
|
||||
>
|
||||
<GenerateResxSource ResxFile="%(EmbeddedResourceSG.FullPath)"
|
||||
ResourceName="%(EmbeddedResourceSG.ManifestResourceName)"
|
||||
SourceOutputPath="%(EmbeddedResourceSG.SourceOutputPath)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GetEmbeddedResourcesWithSourceGeneration">
|
||||
<ItemGroup>
|
||||
<EmbeddedResourceSG Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.GenerateSource)' == 'true'" />
|
||||
<EmbeddedResourceSG>
|
||||
<SourceOutputPath>$(IntermediateOutputPath)%(EmbeddedResourceSG.ManifestResourceName).cs</SourceOutputPath>
|
||||
</EmbeddedResourceSG>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
58
build_projects/dotnet-cli-build/GenerateResxSource.cs
Normal file
58
build_projects/dotnet-cli-build/GenerateResxSource.cs
Normal file
|
@ -0,0 +1,58 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Build
|
||||
{
|
||||
public class GenerateResxSource : Task
|
||||
{
|
||||
|
||||
[Required]
|
||||
public string ResxFile { get; set; }
|
||||
|
||||
[Required]
|
||||
public string ResourceName { get; set; }
|
||||
|
||||
[Required]
|
||||
public string SourceOutputPath { get; set; }
|
||||
|
||||
public override bool Execute()
|
||||
{
|
||||
var source = new StringBuilder();
|
||||
void _(string line) { source.AppendLine(line); }
|
||||
|
||||
string @namespace = Path.GetFileNameWithoutExtension(ResourceName);
|
||||
string @class = Path.GetExtension(ResourceName).TrimStart('.');
|
||||
|
||||
_($"using System;");
|
||||
_($"using System.Globalization;");
|
||||
_($"using System.Reflection;");
|
||||
_($"using System.Resources;");
|
||||
_($"");
|
||||
_($"namespace {@namespace}");
|
||||
_($"{{");
|
||||
_($" internal static class {@class}");
|
||||
_($" {{");
|
||||
_($" internal static CultureInfo Culture {{ get; set; }}");
|
||||
_($" internal static ResourceManager ResourceManager {{ get; }} = new ResourceManager(\"{ResourceName}\", typeof({@class}).GetTypeInfo().Assembly);");
|
||||
|
||||
foreach (var key in XDocument.Load(ResxFile)
|
||||
.Descendants("data")
|
||||
.Select(n => n.Attribute("name").Value))
|
||||
{
|
||||
_($" internal static string {key} => ResourceManager.GetString(\"{key}\", Culture);");
|
||||
}
|
||||
_($" }}");
|
||||
_($"}}");
|
||||
|
||||
File.WriteAllText(SourceOutputPath, source.ToString());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -41,4 +41,5 @@
|
|||
|
||||
<Import Project="build/AzureInfo.props" />
|
||||
<Import Project="build/InstallerInfo.props" />
|
||||
<Import Project="build/GenerateResxSource.targets" />
|
||||
</Project>
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
153
src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.resx
Normal file
153
src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,153 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="ErrorMessageFormatString" xml:space="preserve">
|
||||
<value>Invalid format in line {0}: {1}</value>
|
||||
</data>
|
||||
<data name="ProjectParsingErrorFormatString" xml:space="preserve">
|
||||
<value>Project section is missing '{0}' when parsing the line starting at position {1}</value>
|
||||
</data>
|
||||
<data name="InvalidPropertySetFormatString" xml:space="preserve">
|
||||
<value>Property set is missing '{0}'</value>
|
||||
</data>
|
||||
<data name="GlobalSectionMoreThanOnceError" xml:space="preserve">
|
||||
<value>Global section specified more than once</value>
|
||||
</data>
|
||||
<data name="GlobalSectionNotClosedError" xml:space="preserve">
|
||||
<value>Global section not closed</value>
|
||||
</data>
|
||||
<data name="FileHeaderMissingVersionError" xml:space="preserve">
|
||||
<value>File header is missing version</value>
|
||||
</data>
|
||||
<data name="FileHeaderMissingError" xml:space="preserve">
|
||||
<value>Expected file header not found</value>
|
||||
</data>
|
||||
<data name="ProjectSectionNotClosedError" xml:space="preserve">
|
||||
<value>Project section not closed</value>
|
||||
</data>
|
||||
<data name="InvalidSectionTypeError" xml:space="preserve">
|
||||
<value>Invalid section type: {0}</value>
|
||||
</data>
|
||||
<data name="SectionIdMissingError" xml:space="preserve">
|
||||
<value>Section id missing</value>
|
||||
</data>
|
||||
<data name="ClosingSectionTagNotFoundError" xml:space="preserve">
|
||||
<value>Closing section tag not found</value>
|
||||
</data>
|
||||
</root>
|
|
@ -12,6 +12,10 @@
|
|||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="**\*.resx" GenerateSource="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
259
src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.resx
Normal file
259
src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,259 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="MalformedText" xml:space="preserve">
|
||||
<value>Malformed command text '{0}'</value>
|
||||
</data>
|
||||
<data name="BuildOutputPathDoesNotExist" xml:space="preserve">
|
||||
<value>outputpathresolver: {0} does not exist</value>
|
||||
</data>
|
||||
<data name="AttemptingToFindCommand" xml:space="preserve">
|
||||
<value>{0}: attempting to find command {1} in {2}</value>
|
||||
</data>
|
||||
<data name="FailedToFindToolAssembly" xml:space="preserve">
|
||||
<value>{0}: failed to find toolAssembly for {1}</value>
|
||||
</data>
|
||||
<data name="FailedToFindCommandPath" xml:space="preserve">
|
||||
<value>{0}: failed to find commandPath {1}</value>
|
||||
</data>
|
||||
<data name="UnableToLocateDotnetMultiplexer" xml:space="preserve">
|
||||
<value>Unable to locate dotnet multiplexer</value>
|
||||
</data>
|
||||
<data name="LookingForPreferCliRuntimeFile" xml:space="preserve">
|
||||
<value>{0}: Looking for prefercliruntime file at `{1}`</value>
|
||||
</data>
|
||||
<data name="IgnoringPreferCLIRuntimeFile" xml:space="preserve">
|
||||
<value>{0}: Ignoring prefercliruntime file as the tool target framework ({1}) has a different major version than the current CLI runtime ({2})</value>
|
||||
</data>
|
||||
<data name="CouldNotFindToolRuntimeConfigFile" xml:space="preserve">
|
||||
<value>{0}: Could not find runtimeconfig.json file for tool {1}</value>
|
||||
</data>
|
||||
<data name="AttemptingToResolve" xml:space="preserve">
|
||||
<value>{0}: attempting to resolve {1}</value>
|
||||
</data>
|
||||
<data name="DidNotFindAMatchingProject" xml:space="preserve">
|
||||
<value>{0}: Did not find a matching project {1}.</value>
|
||||
</data>
|
||||
<data name="InvalidCommandResolverArguments" xml:space="preserve">
|
||||
<value>{0}: invalid commandResolverArguments</value>
|
||||
</data>
|
||||
<data name="DoesNotExist" xml:space="preserve">
|
||||
<value>{0}: {1} does not exist</value>
|
||||
</data>
|
||||
<data name="AmbiguousCommandName" xml:space="preserve">
|
||||
<value>Ambiguous command name: {0}</value>
|
||||
</data>
|
||||
<data name="ToolLibraryFound" xml:space="preserve">
|
||||
<value>{0}: tool library found {1}</value>
|
||||
</data>
|
||||
<data name="MSBuildExePath" xml:space="preserve">
|
||||
<value>{0}: MSBUILD_EXE_PATH = {1}</value>
|
||||
</data>
|
||||
<data name="MSBuildProjectPath" xml:space="preserve">
|
||||
<value>{0}: MSBuild project path = {1}</value>
|
||||
</data>
|
||||
<data name="MultipleProjectFilesFound" xml:space="preserve">
|
||||
<value>Specify which project file to use because this '{0}' contains more than one project file.</value>
|
||||
</data>
|
||||
<data name="DidNotFindProject" xml:space="preserve">
|
||||
<value>{0}: ProjectFactory did not find Project.</value>
|
||||
</data>
|
||||
<data name="ResolvingCommandSpec" xml:space="preserve">
|
||||
<value>{0}: resolving commandspec from {1} Tool Libraries.</value>
|
||||
</data>
|
||||
<data name="FailedToResolveCommandSpec" xml:space="preserve">
|
||||
<value>{0}: failed to resolve commandspec from library.</value>
|
||||
</data>
|
||||
<data name="AttemptingToResolveCommandSpec" xml:space="preserve">
|
||||
<value>{0}: Attempting to resolve command spec from tool {1}</value>
|
||||
</data>
|
||||
<data name="NuGetPackagesRoot" xml:space="preserve">
|
||||
<value>{0}: nuget packages root:
|
||||
{1}</value>
|
||||
</data>
|
||||
<data name="FoundToolLockFile" xml:space="preserve">
|
||||
<value>{0}: found tool lockfile at : {1}</value>
|
||||
</data>
|
||||
<data name="LibraryNotFoundInLockFile" xml:space="preserve">
|
||||
<value>{0}: library not found in lock file.</value>
|
||||
</data>
|
||||
<data name="AttemptingToCreateCommandSpec" xml:space="preserve">
|
||||
<value>{0}: attempting to create commandspec</value>
|
||||
</data>
|
||||
<data name="CommandSpecIsNull" xml:space="preserve">
|
||||
<value>{0}: commandSpec is null.</value>
|
||||
</data>
|
||||
<data name="ExpectDepsJsonAt" xml:space="preserve">
|
||||
<value>{0}: expect deps.json at: {1}</value>
|
||||
</data>
|
||||
<data name="GeneratingDepsJson" xml:space="preserve">
|
||||
<value>Generating deps.json at: {0}</value>
|
||||
</data>
|
||||
<data name="UnableToGenerateDepsJson" xml:space="preserve">
|
||||
<value>unable to generate deps.json, it may have been already generated: {0}</value>
|
||||
</data>
|
||||
<data name="DepsJsonGeneratorProjectNotSet" xml:space="preserve">
|
||||
<value>Unable to find deps.json generator project.</value>
|
||||
</data>
|
||||
<data name="UnableToDeleteTemporaryDepsJson" xml:space="preserve">
|
||||
<value>unable to delete temporary deps.json file: {0}</value>
|
||||
</data>
|
||||
<data name="VersionForPackageCouldNotBeResolved" xml:space="preserve">
|
||||
<value>Version for package `{0}` could not be resolved.</value>
|
||||
</data>
|
||||
<data name="FileNotFound" xml:space="preserve">
|
||||
<value>File not found `{0}`.</value>
|
||||
</data>
|
||||
<data name="ProjectNotRestoredOrRestoreFailed" xml:space="preserve">
|
||||
<value>The project may not have been restored or restore failed - run `dotnet restore`</value>
|
||||
</data>
|
||||
<data name="NoExecutableFoundMatchingCommand" xml:space="preserve">
|
||||
<value>No executable found matching command "{0}"</value>
|
||||
</data>
|
||||
<data name="CommandAssembliesNotFound" xml:space="preserve">
|
||||
<value>The command executable for "{0}" was not found. The project may not have been restored or restore failed - run `dotnet restore`</value>
|
||||
</data>
|
||||
<data name="WaitingForDebuggerToAttach" xml:space="preserve">
|
||||
<value>Waiting for debugger to attach. Press ENTER to continue</value>
|
||||
</data>
|
||||
<data name="ProcessId" xml:space="preserve">
|
||||
<value>Process ID: {0}</value>
|
||||
</data>
|
||||
<data name="CouldNotAccessAssetsFile" xml:space="preserve">
|
||||
<value>Could not access assets file.</value>
|
||||
</data>
|
||||
<data name="DotNetCommandLineTools" xml:space="preserve">
|
||||
<value>.NET Command Line Tools</value>
|
||||
</data>
|
||||
<data name="WriteLineForwarderSetPreviously" xml:space="preserve">
|
||||
<value>WriteLine forwarder set previously</value>
|
||||
</data>
|
||||
<data name="AlreadyCapturingStream" xml:space="preserve">
|
||||
<value>Already capturing stream!</value>
|
||||
</data>
|
||||
<data name="RunningFileNameArguments" xml:space="preserve">
|
||||
<value>Running {0} {1}</value>
|
||||
</data>
|
||||
<data name="ProcessExitedWithCode" xml:space="preserve">
|
||||
<value>< {0} exited with {1} in {2} ms.</value>
|
||||
</data>
|
||||
<data name="UnableToInvokeMemberNameAfterCommand" xml:space="preserve">
|
||||
<value>Unable to invoke {0} after the command has been run</value>
|
||||
</data>
|
||||
</root>
|
|
@ -11,6 +11,10 @@
|
|||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="**\*.resx" GenerateSource="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(DependencyModelVersion)" />
|
||||
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="$(PlatformAbstractionsVersion)" />
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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}";
|
||||
}
|
||||
}
|
138
src/Microsoft.DotNet.Configurer/LocalizableStrings.resx
Normal file
138
src/Microsoft.DotNet.Configurer/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,138 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="FirstTimeWelcomeMessage" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
<data name="FailedToPrimeCacheError" xml:space="preserve">
|
||||
<value>Failed to prime the NuGet cache. {0} failed with: {1}</value>
|
||||
</data>
|
||||
</root>
|
|
@ -12,6 +12,10 @@
|
|||
<RepositoryUrl>git://github.com/dotnet/cli</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="**\*.resx" GenerateSource="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Common" Version="$(CLI_NuGet_Version)" />
|
||||
<PackageReference Include="NuGet.Configuration" Version="$(CLI_NuGet_Version)" />
|
||||
|
|
|
@ -5,6 +5,6 @@ namespace Microsoft.DotNet.Cli.CommandLine
|
|||
{
|
||||
internal class HelpMessageStrings
|
||||
{
|
||||
internal const string MSBuildAdditionalArgsHelpText = LocalizableStrings.MSBuildAdditionalArgsHelpText;
|
||||
internal static string MSBuildAdditionalArgsHelpText => LocalizableStrings.MSBuildAdditionalArgsHelpText;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = " [[--] <additional arguments>...]]";
|
||||
|
||||
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.";
|
||||
}
|
||||
}
|
183
src/dotnet/CommandLine/LocalizableStrings.resx
Normal file
183
src/dotnet/CommandLine/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,183 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="LastArgumentMultiValueError" xml:space="preserve">
|
||||
<value>The last argument '{0}' accepts multiple values. No more argument can be added.</value>
|
||||
</data>
|
||||
<data name="OptionRequiresSingleValueWhichIsMissing" xml:space="preserve">
|
||||
<value>Required value for option '{0}' was not provided.</value>
|
||||
</data>
|
||||
<data name="UnexpectedValueForOptionError" xml:space="preserve">
|
||||
<value>Unexpected value '{0}' for option '{1}'</value>
|
||||
</data>
|
||||
<data name="UnexpectedArgumentError" xml:space="preserve">
|
||||
<value>Unrecognized {0} '{1}'</value>
|
||||
</data>
|
||||
<data name="ResponseFileNotFoundError" xml:space="preserve">
|
||||
<value>Response file '{0}' doesn't exist.</value>
|
||||
</data>
|
||||
<data name="ShowHelpInfo" xml:space="preserve">
|
||||
<value>Show help information</value>
|
||||
</data>
|
||||
<data name="ShowVersionInfo" xml:space="preserve">
|
||||
<value>Show version information</value>
|
||||
</data>
|
||||
<data name="ShowHintInfo" xml:space="preserve">
|
||||
<value>Specify --{0} for a list of available options and commands.</value>
|
||||
</data>
|
||||
<data name="UsageHeader" xml:space="preserve">
|
||||
<value>Usage:</value>
|
||||
</data>
|
||||
<data name="UsageArgumentsToken" xml:space="preserve">
|
||||
<value> [arguments]</value>
|
||||
</data>
|
||||
<data name="UsageArgumentsHeader" xml:space="preserve">
|
||||
<value>Arguments:</value>
|
||||
</data>
|
||||
<data name="UsageOptionsToken" xml:space="preserve">
|
||||
<value> [options]</value>
|
||||
</data>
|
||||
<data name="UsageOptionsHeader" xml:space="preserve">
|
||||
<value>Options:</value>
|
||||
</data>
|
||||
<data name="UsageCommandToken" xml:space="preserve">
|
||||
<value> [command]</value>
|
||||
</data>
|
||||
<data name="UsageCommandsHeader" xml:space="preserve">
|
||||
<value>Commands:</value>
|
||||
</data>
|
||||
<data name="UsageCommandsDetailHelp" xml:space="preserve">
|
||||
<value>Use "{0} [command] --help" for more information about a command.</value>
|
||||
</data>
|
||||
<data name="UsageCommandArgs" xml:space="preserve">
|
||||
<value> [args]</value>
|
||||
</data>
|
||||
<data name="UsageCommandAdditionalArgs" xml:space="preserve">
|
||||
<value> [[--] <additional arguments>...]]</value>
|
||||
</data>
|
||||
<data name="UsageCommandsAdditionalArgsHeader" xml:space="preserve">
|
||||
<value>Additional Arguments:</value>
|
||||
</data>
|
||||
<data name="InvalidTemplateError" xml:space="preserve">
|
||||
<value>Invalid template pattern '{0}'</value>
|
||||
</data>
|
||||
<data name="MSBuildAdditionalArgsHelpText" xml:space="preserve">
|
||||
<value>Any extra options that should be passed to MSBuild. See 'dotnet msbuild -h' for available options.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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 <verb>
|
||||
/// 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.";
|
||||
}
|
||||
}
|
523
src/dotnet/CommonLocalizableStrings.resx
Normal file
523
src/dotnet/CommonLocalizableStrings.resx
Normal file
|
@ -0,0 +1,523 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="UnsupportedProjectType" xml:space="preserve">
|
||||
<value>Unsupported project type. Please check with your sdk provider.</value>
|
||||
</data>
|
||||
<data name="ProjectAlreadyHasAreference" xml:space="preserve">
|
||||
<value>Project already has a reference to `{0}`.</value>
|
||||
</data>
|
||||
<data name="ProjectReferenceCouldNotBeFound" xml:space="preserve">
|
||||
<value>Project reference `{0}` could not be found.</value>
|
||||
</data>
|
||||
<data name="ProjectReferenceRemoved" xml:space="preserve">
|
||||
<value>Project reference `{0}` removed.</value>
|
||||
</data>
|
||||
<data name="Project" xml:space="preserve">
|
||||
<value>Project</value>
|
||||
</data>
|
||||
<data name="ProjectFile" xml:space="preserve">
|
||||
<value>Project file</value>
|
||||
</data>
|
||||
<data name="Reference" xml:space="preserve">
|
||||
<value>Reference</value>
|
||||
</data>
|
||||
<data name="ProjectReference" xml:space="preserve">
|
||||
<value>Project reference</value>
|
||||
</data>
|
||||
<data name="ProjectReferenceOneOrMore" xml:space="preserve">
|
||||
<value>Project reference(s)</value>
|
||||
</data>
|
||||
<data name="PackageReference" xml:space="preserve">
|
||||
<value>Package reference</value>
|
||||
</data>
|
||||
<data name="P2P" xml:space="preserve">
|
||||
<value>Project to Project</value>
|
||||
</data>
|
||||
<data name="P2PReference" xml:space="preserve">
|
||||
<value>Project to Project reference</value>
|
||||
</data>
|
||||
<data name="Package" xml:space="preserve">
|
||||
<value>Package</value>
|
||||
</data>
|
||||
<data name="Solution" xml:space="preserve">
|
||||
<value>Solution</value>
|
||||
</data>
|
||||
<data name="SolutionFile" xml:space="preserve">
|
||||
<value>Solution file</value>
|
||||
</data>
|
||||
<data name="Executable" xml:space="preserve">
|
||||
<value>Executable</value>
|
||||
</data>
|
||||
<data name="Library" xml:space="preserve">
|
||||
<value>Library</value>
|
||||
</data>
|
||||
<data name="Program" xml:space="preserve">
|
||||
<value>Program</value>
|
||||
</data>
|
||||
<data name="Application" xml:space="preserve">
|
||||
<value>Application</value>
|
||||
</data>
|
||||
<data name="ReferenceAddedToTheProject" xml:space="preserve">
|
||||
<value>Reference `{0}` added to the project.</value>
|
||||
</data>
|
||||
<data name="Add" xml:space="preserve">
|
||||
<value>Add</value>
|
||||
</data>
|
||||
<data name="Remove" xml:space="preserve">
|
||||
<value>Remove</value>
|
||||
</data>
|
||||
<data name="Delete" xml:space="preserve">
|
||||
<value>Delete</value>
|
||||
</data>
|
||||
<data name="Update" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
<data name="New" xml:space="preserve">
|
||||
<value>New</value>
|
||||
</data>
|
||||
<data name="List" xml:space="preserve">
|
||||
<value>List</value>
|
||||
</data>
|
||||
<data name="Load" xml:space="preserve">
|
||||
<value>Load</value>
|
||||
</data>
|
||||
<data name="Save" xml:space="preserve">
|
||||
<value>Save</value>
|
||||
</data>
|
||||
<data name="Find" xml:space="preserve">
|
||||
<value>Find</value>
|
||||
</data>
|
||||
<data name="Error" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
<data name="Warning" xml:space="preserve">
|
||||
<value>Warning</value>
|
||||
</data>
|
||||
<data name="File" xml:space="preserve">
|
||||
<value>File</value>
|
||||
</data>
|
||||
<data name="Directory" xml:space="preserve">
|
||||
<value>Directory</value>
|
||||
</data>
|
||||
<data name="Type" xml:space="preserve">
|
||||
<value>Type</value>
|
||||
</data>
|
||||
<data name="Value" xml:space="preserve">
|
||||
<value>Value</value>
|
||||
</data>
|
||||
<data name="Group" xml:space="preserve">
|
||||
<value>Group</value>
|
||||
</data>
|
||||
<data name="XAddedToY" xml:space="preserve">
|
||||
<value>{0} added to {1}.</value>
|
||||
</data>
|
||||
<data name="XRemovedFromY" xml:space="preserve">
|
||||
<value>{0} removed from {1}.</value>
|
||||
</data>
|
||||
<data name="XDeletedFromY" xml:space="preserve">
|
||||
<value>{0} deleted from {1}.</value>
|
||||
</data>
|
||||
<data name="XSuccessfullyUpdated" xml:space="preserve">
|
||||
<value>{0} successfully updated.</value>
|
||||
</data>
|
||||
<data name="XIsInvalid" xml:space="preserve">
|
||||
<value>{0} is invalid.</value>
|
||||
</data>
|
||||
<data name="XYFoundButInvalid" xml:space="preserve">
|
||||
<value>{0} `{1}` found but is invalid.</value>
|
||||
</data>
|
||||
<data name="XFoundButInvalid" xml:space="preserve">
|
||||
<value>`{0}` found but is invalid.</value>
|
||||
</data>
|
||||
<data name="OperationInvalid" xml:space="preserve">
|
||||
<value>Operation is invalid.</value>
|
||||
</data>
|
||||
<data name="OperationXInvalid" xml:space="preserve">
|
||||
<value>Operation {0} is invalid.</value>
|
||||
</data>
|
||||
<data name="XNotFound" xml:space="preserve">
|
||||
<value>{0} not found.</value>
|
||||
</data>
|
||||
<data name="XOrYNotFound" xml:space="preserve">
|
||||
<value>{0} or {1} not found.</value>
|
||||
</data>
|
||||
<data name="XOrYNotFoundInZ" xml:space="preserve">
|
||||
<value>{0} or {1} not found in `{2}`.</value>
|
||||
</data>
|
||||
<data name="FileNotFound" xml:space="preserve">
|
||||
<value>File `{0}` not found.</value>
|
||||
</data>
|
||||
<data name="XDoesNotExist" xml:space="preserve">
|
||||
<value>{0} does not exist.</value>
|
||||
</data>
|
||||
<data name="XYDoesNotExist" xml:space="preserve">
|
||||
<value>{0} `{1}` does not exist.</value>
|
||||
</data>
|
||||
<data name="MoreThanOneXFound" xml:space="preserve">
|
||||
<value>More than one {0} found.</value>
|
||||
</data>
|
||||
<data name="XAlreadyContainsY" xml:space="preserve">
|
||||
<value>{0} already contains {1}.</value>
|
||||
</data>
|
||||
<data name="XAlreadyContainsYZ" xml:space="preserve">
|
||||
<value>{0} already contains {1} `{2}`.</value>
|
||||
</data>
|
||||
<data name="XAlreadyHasY" xml:space="preserve">
|
||||
<value>{0} already has {1}.</value>
|
||||
</data>
|
||||
<data name="XAlreadyHasYZ" xml:space="preserve">
|
||||
<value>{0} already has {1} `{2}`.</value>
|
||||
</data>
|
||||
<data name="XWasNotExpected" xml:space="preserve">
|
||||
<value>{0} was not expected.</value>
|
||||
</data>
|
||||
<data name="XNotProvided" xml:space="preserve">
|
||||
<value>{0} not provided.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOne" xml:space="preserve">
|
||||
<value>Please specify at least one {0}.</value>
|
||||
</data>
|
||||
<data name="CouldNotConnectWithTheServer" xml:space="preserve">
|
||||
<value>Could not connect with the server.</value>
|
||||
</data>
|
||||
<data name="RequiredArgumentIsInvalid" xml:space="preserve">
|
||||
<value>Required argument {0} is invalid.</value>
|
||||
</data>
|
||||
<data name="OptionIsInvalid" xml:space="preserve">
|
||||
<value>Option {0} is invalid.</value>
|
||||
</data>
|
||||
<data name="ArgumentIsInvalid" xml:space="preserve">
|
||||
<value>Argument {0} is invalid.</value>
|
||||
</data>
|
||||
<data name="RequiredArgumentNotPassed" xml:space="preserve">
|
||||
<value>Required argument {0} was not provided.</value>
|
||||
</data>
|
||||
<data name="RequiredCommandNotPassed" xml:space="preserve">
|
||||
<value>Required command was not provided.</value>
|
||||
</data>
|
||||
<data name="CouldNotFindAnyProjectInDirectory" xml:space="preserve">
|
||||
<value>Could not find any project in `{0}`.</value>
|
||||
</data>
|
||||
<data name="CouldNotFindProjectOrDirectory" xml:space="preserve">
|
||||
<value>Could not find project or directory `{0}`.</value>
|
||||
</data>
|
||||
<data name="MoreThanOneProjectInDirectory" xml:space="preserve">
|
||||
<value>Found more than one project in `{0}`. Please specify which one to use.</value>
|
||||
</data>
|
||||
<data name="FoundInvalidProject" xml:space="preserve">
|
||||
<value>Found a project `{0}` but it is invalid.</value>
|
||||
</data>
|
||||
<data name="InvalidProject" xml:space="preserve">
|
||||
<value>Invalid project `{0}`.</value>
|
||||
</data>
|
||||
<data name="InvalidProjectWithExceptionMessage" xml:space="preserve">
|
||||
<value>Invalid project `{0}`. {1}.</value>
|
||||
</data>
|
||||
<data name="CouldNotFindSolutionIn" xml:space="preserve">
|
||||
<value>Specified solution file {0} does not exist, or there is no solution file in the directory.</value>
|
||||
</data>
|
||||
<data name="CouldNotFindSolutionOrDirectory" xml:space="preserve">
|
||||
<value>Could not find solution or directory `{0}`.</value>
|
||||
</data>
|
||||
<data name="MoreThanOneSolutionInDirectory" xml:space="preserve">
|
||||
<value>Found more than one solution file in {0}. Please specify which one to use.</value>
|
||||
</data>
|
||||
<data name="InvalidSolutionFormatString" xml:space="preserve">
|
||||
<value>Invalid solution `{0}`. {1}.</value>
|
||||
</data>
|
||||
<data name="SolutionDoesNotExist" xml:space="preserve">
|
||||
<value>Specified solution file {0} does not exist, or there is no solution file in the directory.</value>
|
||||
</data>
|
||||
<data name="ReferenceDoesNotExist" xml:space="preserve">
|
||||
<value>Reference {0} does not exist.</value>
|
||||
</data>
|
||||
<data name="ReferenceIsInvalid" xml:space="preserve">
|
||||
<value>Reference `{0}` is invalid.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOneReferenceToAdd" xml:space="preserve">
|
||||
<value>You must specify at least one reference to add.</value>
|
||||
</data>
|
||||
<data name="ProjectAlreadyHasAReference" xml:space="preserve">
|
||||
<value>Project {0} already has a reference `{1}`.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceDoesNotExist" xml:space="preserve">
|
||||
<value>Package reference `{0}` does not exist.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceIsInvalid" xml:space="preserve">
|
||||
<value>Package reference `{0}` is invalid.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOnePackageReferenceToAdd" xml:space="preserve">
|
||||
<value>You must specify at least one package to add.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceAddedToTheProject" xml:space="preserve">
|
||||
<value>Package reference `{0}` added to the project.</value>
|
||||
</data>
|
||||
<data name="ProjectAlreadyHasAPackageReference" xml:space="preserve">
|
||||
<value>Project {0} already has a reference `{1}`.</value>
|
||||
</data>
|
||||
<data name="PleaseSpecifyVersion" xml:space="preserve">
|
||||
<value>Please specify a version of the package.</value>
|
||||
</data>
|
||||
<data name="ProjectDoesNotExist" xml:space="preserve">
|
||||
<value>Project `{0}` does not exist.</value>
|
||||
</data>
|
||||
<data name="ProjectIsInvalid" xml:space="preserve">
|
||||
<value>Project `{0}` is invalid.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOneProjectToAdd" xml:space="preserve">
|
||||
<value>You must specify at least one project to add.</value>
|
||||
</data>
|
||||
<data name="ProjectAddedToTheSolution" xml:space="preserve">
|
||||
<value>Project `{0}` added to the solution.</value>
|
||||
</data>
|
||||
<data name="SolutionAlreadyContainsProject" xml:space="preserve">
|
||||
<value>Solution {0} already contains project {1}.</value>
|
||||
</data>
|
||||
<data name="ReferenceNotFoundInTheProject" xml:space="preserve">
|
||||
<value>Specified reference {0} does not exist in project {1}.</value>
|
||||
</data>
|
||||
<data name="ReferenceRemoved" xml:space="preserve">
|
||||
<value>Reference `{0}` deleted from the project.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOneReferenceToRemove" xml:space="preserve">
|
||||
<value>You must specify at least one reference to remove.</value>
|
||||
</data>
|
||||
<data name="ReferenceDeleted" xml:space="preserve">
|
||||
<value>Reference `{0}` deleted.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceNotFoundInTheProject" xml:space="preserve">
|
||||
<value>Package reference `{0}` could not be found in the project.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceRemoved" xml:space="preserve">
|
||||
<value>Reference `{0}` deleted from the project.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOnePackageReferenceToRemove" xml:space="preserve">
|
||||
<value>You must specify at least one package reference to remove.</value>
|
||||
</data>
|
||||
<data name="PackageReferenceDeleted" xml:space="preserve">
|
||||
<value>Package reference `{0}` deleted.</value>
|
||||
</data>
|
||||
<data name="ProjectNotFoundInTheSolution" xml:space="preserve">
|
||||
<value>Project `{0}` could not be found in the solution.</value>
|
||||
</data>
|
||||
<data name="ProjectRemoved" xml:space="preserve">
|
||||
<value>Project `{0}` removed from solution.</value>
|
||||
</data>
|
||||
<data name="SpecifyAtLeastOneProjectToRemove" xml:space="preserve">
|
||||
<value>You must specify at least one project to remove.</value>
|
||||
</data>
|
||||
<data name="ProjectDeleted" xml:space="preserve">
|
||||
<value>Project `{0}` deleted from solution.</value>
|
||||
</data>
|
||||
<data name="NoReferencesFound" xml:space="preserve">
|
||||
<value>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). </value>
|
||||
</data>
|
||||
<data name="NoProjectsFound" xml:space="preserve">
|
||||
<value>No projects found in the solution.</value>
|
||||
</data>
|
||||
<data name="ArgumentsProjectOrSolutionDescription" xml:space="preserve">
|
||||
<value>The project or solution to operation on. If a file is not specified, the current directory is searched.</value>
|
||||
</data>
|
||||
<data name="ArgumentsProjectDescription" xml:space="preserve">
|
||||
<value>The project file to operate on. If a file is not specified, the command will search the current directory for one.</value>
|
||||
</data>
|
||||
<data name="ArgumentsSolutionDescription" xml:space="preserve">
|
||||
<value>Solution file to operate on. If not specified, the command will search the current directory for one.</value>
|
||||
</data>
|
||||
<data name="CmdSlnFile" xml:space="preserve">
|
||||
<value>SLN_FILE</value>
|
||||
</data>
|
||||
<data name="CmdProjectFile" xml:space="preserve">
|
||||
<value>PROJECT</value>
|
||||
</data>
|
||||
<data name="CmdFramework" xml:space="preserve">
|
||||
<value>FRAMEWORK</value>
|
||||
</data>
|
||||
<data name="PleaseSpecifyNewVersion" xml:space="preserve">
|
||||
<value>Please specify new version of the package.</value>
|
||||
</data>
|
||||
<data name="PleaseSpecifyWhichPackageToUpdate" xml:space="preserve">
|
||||
<value>Please specify which package to update.</value>
|
||||
</data>
|
||||
<data name="NothingToUpdate" xml:space="preserve">
|
||||
<value>Nothing to update.</value>
|
||||
</data>
|
||||
<data name="EverythingUpToDate" xml:space="preserve">
|
||||
<value>Everything is already up-to-date.</value>
|
||||
</data>
|
||||
<data name="PackageVersionUpdatedTo" xml:space="preserve">
|
||||
<value>Version of package `{0}` updated to `{1}`.</value>
|
||||
</data>
|
||||
<data name="PackageVersionUpdated" xml:space="preserve">
|
||||
<value>Version of package `{0}` updated.</value>
|
||||
</data>
|
||||
<data name="CouldNotUpdateTheVersion" xml:space="preserve">
|
||||
<value>Could not update the version of the package `{0}`.</value>
|
||||
</data>
|
||||
<data name="TemplateCreatedSuccessfully" xml:space="preserve">
|
||||
<value>The template {0} created successfully. Please run "dotnet restore" to get started!</value>
|
||||
</data>
|
||||
<data name="TemplateInstalledSuccesfully" xml:space="preserve">
|
||||
<value>The template {0} installed successfully. You can use "dotnet new {0}" to get started with the new template.</value>
|
||||
</data>
|
||||
<data name="TemplateCreateError" xml:space="preserve">
|
||||
<value>Template {0} could not be created. Error returned was: {1}.</value>
|
||||
</data>
|
||||
<data name="TemplateInstallError" xml:space="preserve">
|
||||
<value>Template {0} could not be installed. Error returned was: {1}.</value>
|
||||
</data>
|
||||
<data name="SpecifiedNameExists" xml:space="preserve">
|
||||
<value>Specified name {0} already exists. Please specify a different name.</value>
|
||||
</data>
|
||||
<data name="SpecifiedAliasExists" xml:space="preserve">
|
||||
<value>Specified alias {0} already exists. Please specify a different alias.</value>
|
||||
</data>
|
||||
<data name="MandatoryParameterMissing" xml:space="preserve">
|
||||
<value>Mandatory parameter {0} missing for template {1}. </value>
|
||||
</data>
|
||||
<data name="ProjectNotCompatibleWithFrameworks" xml:space="preserve">
|
||||
<value>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:</value>
|
||||
</data>
|
||||
<data name="ProjectDoesNotTargetFramework" xml:space="preserve">
|
||||
<value>Project `{0}` does not target framework `{1}`.</value>
|
||||
</data>
|
||||
<data name="ProjectCouldNotBeEvaluated" xml:space="preserve">
|
||||
<value>Project `{0}` could not be evaluated. Evaluation failed with following error:
|
||||
{1}.</value>
|
||||
</data>
|
||||
<data name="VerbosityOptionDescription" xml:space="preserve">
|
||||
<value>Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].</value>
|
||||
</data>
|
||||
<data name="FrameworkOptionDescription" xml:space="preserve">
|
||||
<value>Target framework to publish for. The target framework has to be specified in the project file.</value>
|
||||
</data>
|
||||
<data name="RuntimeOptionDescription" xml:space="preserve">
|
||||
<value>Publish the project for a given runtime. This is used when creating self-contained deployment. Default is to publish a framework-dependent app.</value>
|
||||
</data>
|
||||
<data name="ConfigurationOptionDescription" xml:space="preserve">
|
||||
<value>Configuration to use for building the project. Default for most projects is "Debug".</value>
|
||||
</data>
|
||||
<data name="CmdVersionSuffixDescription" xml:space="preserve">
|
||||
<value>Defines the value for the $(VersionSuffix) property in the project.</value>
|
||||
</data>
|
||||
<data name="ShowHelpDescription" xml:space="preserve">
|
||||
<value>Show help information.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
123
src/dotnet/commands/dotnet-add/LocalizableStrings.resx
Normal file
123
src/dotnet/commands/dotnet-add/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="NetAddCommand" xml:space="preserve">
|
||||
<value>.NET Add Command</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,165 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Add Package reference Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to add package reference</value>
|
||||
</data>
|
||||
<data name="CmdPackageDescription" xml:space="preserve">
|
||||
<value>The package reference to add.</value>
|
||||
</data>
|
||||
<data name="SpecifyExactlyOnePackageReference" xml:space="preserve">
|
||||
<value>Please specify one package reference to add.</value>
|
||||
</data>
|
||||
<data name="CmdFrameworkDescription" xml:space="preserve">
|
||||
<value>Adds reference only when targeting a specific framework.</value>
|
||||
</data>
|
||||
<data name="CmdNoRestoreDescription" xml:space="preserve">
|
||||
<value>Adds reference without performing restore preview and compatibility check.</value>
|
||||
</data>
|
||||
<data name="CmdSourceDescription" xml:space="preserve">
|
||||
<value>Specifies NuGet package sources to use during the restore.</value>
|
||||
</data>
|
||||
<data name="CmdPackageDirectoryDescription" xml:space="preserve">
|
||||
<value>Restores the packages to the specified directory.</value>
|
||||
</data>
|
||||
<data name="CmdVersionDescription" xml:space="preserve">
|
||||
<value>Version for the package to be added.</value>
|
||||
</data>
|
||||
<data name="CmdDGFileException" xml:space="preserve">
|
||||
<value>Unable to create dependency graph file for project '{0}'. Cannot add package reference.</value>
|
||||
</data>
|
||||
<data name="CmdPackage" xml:space="preserve">
|
||||
<value>PACKAGE_NAME</value>
|
||||
</data>
|
||||
<data name="CmdVersion" xml:space="preserve">
|
||||
<value>VERSION</value>
|
||||
</data>
|
||||
<data name="CmdFramework" xml:space="preserve">
|
||||
<value>FRAMEWORK</value>
|
||||
</data>
|
||||
<data name="CmdSource" xml:space="preserve">
|
||||
<value>SOURCE</value>
|
||||
</data>
|
||||
<data name="CmdPackageDirectory" xml:space="preserve">
|
||||
<value>PACKAGE_DIRECTORY</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Add Project to Solution Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to add project to solution</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Projects to add to solution</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Add Project to Project reference Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to add project to project reference</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Project to project references to add</value>
|
||||
</data>
|
||||
<data name="CmdFrameworkDescription" xml:space="preserve">
|
||||
<value>Add reference only when targeting a specific framework</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
138
src/dotnet/commands/dotnet-build/LocalizableStrings.resx
Normal file
138
src/dotnet/commands/dotnet-build/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,138 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Builder for the .NET Platform. Delegates to the MSBuild 'Build' target in the project file.</value>
|
||||
</data>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Builder</value>
|
||||
</data>
|
||||
<data name="NoDependenciesOptionDescription" xml:space="preserve">
|
||||
<value>Set this flag to ignore project-to-project references and only build the root project</value>
|
||||
</data>
|
||||
<data name="NoIncrementialOptionDescription" xml:space="preserve">
|
||||
<value>Disables incremental build.</value>
|
||||
</data>
|
||||
<data name="OutputOptionDescription" xml:space="preserve">
|
||||
<value>Output directory in which to place built artifacts.</value>
|
||||
</data>
|
||||
<data name="OutputOptionName" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
}
|
||||
}
|
132
src/dotnet/commands/dotnet-clean/LocalizableStrings.resx
Normal file
132
src/dotnet/commands/dotnet-clean/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Clean Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to clean previously generated build outputs.</value>
|
||||
</data>
|
||||
<data name="CmdOutputDir" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
<data name="CmdOutputDirDescription" xml:space="preserve">
|
||||
<value>Directory in which the build outputs have been placed.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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 <application>.deps.json file.";
|
||||
|
||||
public const string RuntimeconfigDefinition = "Path to <application>.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.";
|
||||
}
|
||||
}
|
261
src/dotnet/commands/dotnet-help/LocalizableStrings.resx
Normal file
261
src/dotnet/commands/dotnet-help/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,261 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Usage" xml:space="preserve">
|
||||
<value>Usage</value>
|
||||
</data>
|
||||
<data name="Arguments" xml:space="preserve">
|
||||
<value>Arguments</value>
|
||||
</data>
|
||||
<data name="CommandDefinition" xml:space="preserve">
|
||||
<value>The command to execute</value>
|
||||
</data>
|
||||
<data name="ArgumentsDefinition" xml:space="preserve">
|
||||
<value>Arguments to pass to the command</value>
|
||||
</data>
|
||||
<data name="HostOptionsDefinition" xml:space="preserve">
|
||||
<value>Options specific to dotnet (host)</value>
|
||||
</data>
|
||||
<data name="OptionsDescription" xml:space="preserve">
|
||||
<value>Options common to all commands</value>
|
||||
</data>
|
||||
<data name="CommonOptions" xml:space="preserve">
|
||||
<value>Common options</value>
|
||||
</data>
|
||||
<data name="DiagnosticsDefinition" xml:space="preserve">
|
||||
<value>Enable diagnostic output</value>
|
||||
</data>
|
||||
<data name="HelpDefinition" xml:space="preserve">
|
||||
<value>Show help.</value>
|
||||
</data>
|
||||
<data name="HostOptions" xml:space="preserve">
|
||||
<value>Host options (passed before the command)</value>
|
||||
</data>
|
||||
<data name="VersionDescription" xml:space="preserve">
|
||||
<value>Display .NET CLI Version Number</value>
|
||||
</data>
|
||||
<data name="InfoDescription" xml:space="preserve">
|
||||
<value>Display .NET CLI Info</value>
|
||||
</data>
|
||||
<data name="Commands" xml:space="preserve">
|
||||
<value>SDK commands</value>
|
||||
</data>
|
||||
<data name="NewDefinition" xml:space="preserve">
|
||||
<value>Initialize .NET projects.</value>
|
||||
</data>
|
||||
<data name="RestoreDefinition" xml:space="preserve">
|
||||
<value>Restore dependencies specified in the .NET project.</value>
|
||||
</data>
|
||||
<data name="BuildDefinition" xml:space="preserve">
|
||||
<value>Builds a .NET project.</value>
|
||||
</data>
|
||||
<data name="PublishDefinition" xml:space="preserve">
|
||||
<value>Publishes a .NET project for deployment (including the runtime).</value>
|
||||
</data>
|
||||
<data name="RunDefinition" xml:space="preserve">
|
||||
<value>Compiles and immediately executes a .NET project.</value>
|
||||
</data>
|
||||
<data name="TestDefinition" xml:space="preserve">
|
||||
<value>Runs unit tests using the test runner specified in the project.</value>
|
||||
</data>
|
||||
<data name="PackDefinition" xml:space="preserve">
|
||||
<value>Creates a NuGet package.</value>
|
||||
</data>
|
||||
<data name="MigrateDefinition" xml:space="preserve">
|
||||
<value>Migrates a project.json based project to a msbuild based project.</value>
|
||||
</data>
|
||||
<data name="ProjectModificationCommands" xml:space="preserve">
|
||||
<value>Project modification commands</value>
|
||||
</data>
|
||||
<data name="AddDefinition" xml:space="preserve">
|
||||
<value>Add reference to the project.</value>
|
||||
</data>
|
||||
<data name="RemoveDefinition" xml:space="preserve">
|
||||
<value>Remove reference from the project.</value>
|
||||
</data>
|
||||
<data name="ListDefinition" xml:space="preserve">
|
||||
<value>List reference in the project.</value>
|
||||
</data>
|
||||
<data name="AdvancedCommands" xml:space="preserve">
|
||||
<value>Advanced Commands</value>
|
||||
</data>
|
||||
<data name="NugetDefinition" xml:space="preserve">
|
||||
<value>Provides additional NuGet commands.</value>
|
||||
</data>
|
||||
<data name="MsBuildDefinition" xml:space="preserve">
|
||||
<value>Runs Microsoft Build Engine (MSBuild).</value>
|
||||
</data>
|
||||
<data name="VsTestDefinition" xml:space="preserve">
|
||||
<value>Runs Microsoft Test Execution Command Line Tool.</value>
|
||||
</data>
|
||||
<data name="CleanDefinition" xml:space="preserve">
|
||||
<value>Clean build output(s).</value>
|
||||
</data>
|
||||
<data name="SlnDefinition" xml:space="preserve">
|
||||
<value>Modify solution (SLN) files.</value>
|
||||
</data>
|
||||
<data name="CommandDoesNotExist" xml:space="preserve">
|
||||
<value>Specified command '{0}' is not a valid CLI command. Please specify a valid CLI commands. For more information, run dotnet help.</value>
|
||||
</data>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET CLI help utility</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Utility to get more detailed help about each of the CLI commands.</value>
|
||||
</data>
|
||||
<data name="CommandArgumentName" xml:space="preserve">
|
||||
<value>COMMAND_NAME</value>
|
||||
</data>
|
||||
<data name="CommandArgumentDescription" xml:space="preserve">
|
||||
<value>CLI command for which to view more detailed help.</value>
|
||||
</data>
|
||||
<data name="PathToApplicationDefinition" xml:space="preserve">
|
||||
<value>The path to an application .dll file to execute.</value>
|
||||
</data>
|
||||
<data name="SDKVersionCommandDefinition" xml:space="preserve">
|
||||
<value>Display .NET Core SDK version.</value>
|
||||
</data>
|
||||
<data name="SDKInfoCommandDefinition" xml:space="preserve">
|
||||
<value>Display .NET Core information.</value>
|
||||
</data>
|
||||
<data name="SDKDiagnosticsCommandDefinition" xml:space="preserve">
|
||||
<value>Enable diagnostic output.</value>
|
||||
</data>
|
||||
<data name="RunDotnetCommandHelpForMore" xml:space="preserve">
|
||||
<value>Run 'dotnet COMMAND --help' for more information on a command.</value>
|
||||
</data>
|
||||
<data name="AdditionalprobingpathDefinition" xml:space="preserve">
|
||||
<value>Path containing probing policy and assemblies to probe for.</value>
|
||||
</data>
|
||||
<data name="DepsfilDefinition" xml:space="preserve">
|
||||
<value>Path to <application>.deps.json file.</value>
|
||||
</data>
|
||||
<data name="RuntimeconfigDefinition" xml:space="preserve">
|
||||
<value>Path to <application>.runtimeconfig.json file.</value>
|
||||
</data>
|
||||
<data name="FxVersionDefinition" xml:space="preserve">
|
||||
<value>Version of the installed Shared Framework to use to run the application.</value>
|
||||
</data>
|
||||
<data name="RollForwardOnNoCandidateFxDefinition" xml:space="preserve">
|
||||
<value>Roll forward on no candidate shared framework is enabled.</value>
|
||||
</data>
|
||||
<data name="AdditionalDeps" xml:space="preserve">
|
||||
<value>Path to additonal deps.json file.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
123
src/dotnet/commands/dotnet-list/LocalizableStrings.resx
Normal file
123
src/dotnet/commands/dotnet-list/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="NetListCommand" xml:space="preserve">
|
||||
<value>.NET List Command</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Projects in Solution viewer</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to list projects in a solution</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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). ";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,130 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Core Project-to-Project dependency viewer</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to list project to project references</value>
|
||||
</data>
|
||||
<data name="NoReferencesFound" xml:space="preserve">
|
||||
<value>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). </value>
|
||||
</data>
|
||||
</root>
|
|
@ -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}";
|
||||
}
|
||||
}
|
206
src/dotnet/commands/dotnet-migrate/LocalizableStrings.resx
Normal file
206
src/dotnet/commands/dotnet-migrate/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,206 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Migrate Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command used to migrate project.json projects to msbuild</value>
|
||||
</data>
|
||||
<data name="CmdProjectArgument" xml:space="preserve">
|
||||
<value>PROJECT_JSON/GLOBAL_JSON/SOLUTION_FILE/PROJECT_DIR</value>
|
||||
</data>
|
||||
<data name="CmdProjectArgumentDescription" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
<data name="CmdTemplateDescription" xml:space="preserve">
|
||||
<value>Base MSBuild template to use for migrated app. The default is the project included in dotnet new.</value>
|
||||
</data>
|
||||
<data name="CmdVersionDescription" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
<data name="CmdXprojFileDescription" xml:space="preserve">
|
||||
<value>The path to the xproj file to use. Required when there is more than one xproj in a project directory.</value>
|
||||
</data>
|
||||
<data name="CmdSkipProjectReferencesDescription" xml:space="preserve">
|
||||
<value>Skip migrating project references. By default, project references are migrated recursively.</value>
|
||||
</data>
|
||||
<data name="CmdReportFileDescription" xml:space="preserve">
|
||||
<value>Output migration report to the given file in addition to the console.</value>
|
||||
</data>
|
||||
<data name="CmdReportOutputDescription" xml:space="preserve">
|
||||
<value>Output migration report file as json rather than user messages.</value>
|
||||
</data>
|
||||
<data name="CmdSkipBackupDescription" xml:space="preserve">
|
||||
<value>Skip moving project.json, global.json, and *.xproj to a `backup` directory after successful migration.</value>
|
||||
</data>
|
||||
<data name="MigrationFailedError" xml:space="preserve">
|
||||
<value>Migration failed.</value>
|
||||
</data>
|
||||
<data name="MigrationAdditionalHelp" xml:space="preserve">
|
||||
<value>The project migration has finished. Please visit https://aka.ms/coremigration to report any issues you've encountered or ask for help.</value>
|
||||
</data>
|
||||
<data name="MigrationReportSummary" xml:space="preserve">
|
||||
<value>Summary</value>
|
||||
</data>
|
||||
<data name="MigrationReportTotalProjects" xml:space="preserve">
|
||||
<value>Total Projects: {0}</value>
|
||||
</data>
|
||||
<data name="MigrationReportSucceededProjects" xml:space="preserve">
|
||||
<value>Succeeded Projects: {0}</value>
|
||||
</data>
|
||||
<data name="MigrationReportFailedProjects" xml:space="preserve">
|
||||
<value>Failed Projects: {0}</value>
|
||||
</data>
|
||||
<data name="ProjectMigrationSucceeded" xml:space="preserve">
|
||||
<value>Project {0} migration succeeded ({1}).</value>
|
||||
</data>
|
||||
<data name="ProjectMigrationFailed" xml:space="preserve">
|
||||
<value>Project {0} migration failed ({1}).</value>
|
||||
</data>
|
||||
<data name="MigrationFailedToFindProjectInGlobalJson" xml:space="preserve">
|
||||
<value>Unable to find any projects in global.json.</value>
|
||||
</data>
|
||||
<data name="MigrationUnableToFindProjects" xml:space="preserve">
|
||||
<value>Unable to find any projects in {0}.</value>
|
||||
</data>
|
||||
<data name="MigrationProjectJsonNotFound" xml:space="preserve">
|
||||
<value>No project.json file found in '{0}'.</value>
|
||||
</data>
|
||||
<data name="MigrationInvalidProjectArgument" xml:space="preserve">
|
||||
<value>Invalid project argument - '{0}' is not a project.json, global.json, or solution.sln file and a directory named '{0}' doesn't exist.</value>
|
||||
</data>
|
||||
<data name="MigratonUnableToFindProjectJson" xml:space="preserve">
|
||||
<value>Unable to find project.json file at {0}.</value>
|
||||
</data>
|
||||
<data name="MigrationUnableToFindGlobalJson" xml:space="preserve">
|
||||
<value>Unable to find global settings file at {0}.</value>
|
||||
</data>
|
||||
<data name="MigrationUnableToFindSolutionFile" xml:space="preserve">
|
||||
<value>Unable to find the solution file at {0}.</value>
|
||||
</data>
|
||||
<data name="MigrateFilesBackupLocation" xml:space="preserve">
|
||||
<value>Files backed up to {0}</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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]";
|
||||
}
|
||||
}
|
123
src/dotnet/commands/dotnet-msbuild/LocalizableStrings.resx
Normal file
123
src/dotnet/commands/dotnet-msbuild/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="VerbosityOptionDescription" xml:space="preserve">
|
||||
<value>Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
150
src/dotnet/commands/dotnet-pack/LocalizableStrings.resx
Normal file
150
src/dotnet/commands/dotnet-pack/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,150 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Core NuGet Package Packer</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>pack for msbuild</value>
|
||||
</data>
|
||||
<data name="CmdOutputDir" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
<data name="CmdOutputDirDescription" xml:space="preserve">
|
||||
<value>Directory in which to place built packages.</value>
|
||||
</data>
|
||||
<data name="CmdNoBuildOptionDescription" xml:space="preserve">
|
||||
<value>Skip building the project prior to packing. By default, the project will be built.</value>
|
||||
</data>
|
||||
<data name="CmdIncludeSymbolsDescription" xml:space="preserve">
|
||||
<value>Include packages with symbols in addition to regular packages in output directory.</value>
|
||||
</data>
|
||||
<data name="CmdIncludeSourceDescription" xml:space="preserve">
|
||||
<value>Include PDBs and source files. Source files go into the src folder in the resulting nuget package</value>
|
||||
</data>
|
||||
<data name="CmdServiceableDescription" xml:space="preserve">
|
||||
<value>Set the serviceable flag in the package. For more information, please see https://aka.ms/nupkgservicing.</value>
|
||||
</data>
|
||||
<data name="CmdArgumentProject" xml:space="preserve">
|
||||
<value>PROJECT</value>
|
||||
</data>
|
||||
<data name="CmdArgumentDescription" xml:space="preserve">
|
||||
<value>The project to pack, defaults to the project file in the current directory. Can be a path to any project file</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
}
|
||||
}
|
144
src/dotnet/commands/dotnet-publish/LocalizableStrings.resx
Normal file
144
src/dotnet/commands/dotnet-publish/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,144 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Publisher for the .NET Platform</value>
|
||||
</data>
|
||||
<data name="FrameworkOption" xml:space="preserve">
|
||||
<value>FRAMEWORK</value>
|
||||
</data>
|
||||
<data name="FrameworkOptionDescription" xml:space="preserve">
|
||||
<value>Target framework to publish for. The target framework has to be specified in the project file.</value>
|
||||
</data>
|
||||
<data name="OutputOption" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
<data name="OutputOptionDescription" xml:space="preserve">
|
||||
<value>Output directory in which to place the published artifacts.</value>
|
||||
</data>
|
||||
<data name="ManifestOption" xml:space="preserve">
|
||||
<value>manifest.xml</value>
|
||||
</data>
|
||||
<data name="ManifestOptionDescription" xml:space="preserve">
|
||||
<value>The path to a target manifest file that contains the list of packages to be excluded from the publish step.</value>
|
||||
</data>
|
||||
<data name="SelfContainedOptionDescription" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
123
src/dotnet/commands/dotnet-remove/LocalizableStrings.resx
Normal file
123
src/dotnet/commands/dotnet-remove/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="NetRemoveCommand" xml:space="preserve">
|
||||
<value>.NET Remove Command</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Remove Package reference Command.</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to remove package reference.</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Package reference to remove.</value>
|
||||
</data>
|
||||
<data name="SpecifyExactlyOnePackageReference" xml:space="preserve">
|
||||
<value>Please specify only one package reference to remove.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Remove Project from Solution Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to remove projects from a solution</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Projects to remove from a solution</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Remove Project to Project reference Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to remove project to project reference</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Project to project references to remove</value>
|
||||
</data>
|
||||
<data name="CmdFrameworkDescription" xml:space="preserve">
|
||||
<value>Remove reference only when targeting a specific framework</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
}
|
||||
}
|
168
src/dotnet/commands/dotnet-restore/LocalizableStrings.resx
Normal file
168
src/dotnet/commands/dotnet-restore/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,168 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET dependency restorer</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>restore for msbuild</value>
|
||||
</data>
|
||||
<data name="CmdArgument" xml:space="preserve">
|
||||
<value>PROJECT</value>
|
||||
</data>
|
||||
<data name="CmdArgumentDescription" xml:space="preserve">
|
||||
<value>Optional path to a project file or MSBuild arguments.</value>
|
||||
</data>
|
||||
<data name="CmdSourceOption" xml:space="preserve">
|
||||
<value>SOURCE</value>
|
||||
</data>
|
||||
<data name="CmdSourceOptionDescription" xml:space="preserve">
|
||||
<value>Specifies a NuGet package source to use during the restore.</value>
|
||||
</data>
|
||||
<data name="CmdRuntimeOption" xml:space="preserve">
|
||||
<value>RUNTIME_IDENTIFIER</value>
|
||||
</data>
|
||||
<data name="CmdRuntimeOptionDescription" xml:space="preserve">
|
||||
<value>Target runtime to restore packages for.</value>
|
||||
</data>
|
||||
<data name="CmdPackagesOption" xml:space="preserve">
|
||||
<value>PACKAGES_DIRECTORY</value>
|
||||
</data>
|
||||
<data name="CmdPackagesOptionDescription" xml:space="preserve">
|
||||
<value>Directory to install packages in.</value>
|
||||
</data>
|
||||
<data name="CmdDisableParallelOptionDescription" xml:space="preserve">
|
||||
<value>Disables restoring multiple projects in parallel.</value>
|
||||
</data>
|
||||
<data name="CmdConfigFileOption" xml:space="preserve">
|
||||
<value>FILE</value>
|
||||
</data>
|
||||
<data name="CmdConfigFileOptionDescription" xml:space="preserve">
|
||||
<value>The NuGet configuration file to use.</value>
|
||||
</data>
|
||||
<data name="CmdNoCacheOptionDescription" xml:space="preserve">
|
||||
<value>Do not cache packages and http requests.</value>
|
||||
</data>
|
||||
<data name="CmdIgnoreFailedSourcesOptionDescription" xml:space="preserve">
|
||||
<value>Treat package source failures as warnings.</value>
|
||||
</data>
|
||||
<data name="CmdNoDependenciesOptionDescription" xml:space="preserve">
|
||||
<value>Set this flag to ignore project to project references and only restore the root project.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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}";
|
||||
}
|
||||
}
|
199
src/dotnet/commands/dotnet-run/LocalizableStrings.resx
Normal file
199
src/dotnet/commands/dotnet-run/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,199 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Run Command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command used to run .NET apps</value>
|
||||
</data>
|
||||
<data name="CommandOptionNoBuildDescription" xml:space="preserve">
|
||||
<value>Skip building the project prior to running. By default, the project will be built.</value>
|
||||
</data>
|
||||
<data name="CommandOptionFrameworkDescription" xml:space="preserve">
|
||||
<value>Build and run the app using the specified framework. The framework has to be specified in the project file. </value>
|
||||
</data>
|
||||
<data name="CommandOptionNoBuild" xml:space="preserve">
|
||||
<value>Do not build the project before running.</value>
|
||||
</data>
|
||||
<data name="CommandOptionProjectDescription" xml:space="preserve">
|
||||
<value>The path to the project file to run (defaults to the current directory if there is only one project).</value>
|
||||
</data>
|
||||
<data name="CommandOptionLaunchProfileDescription" xml:space="preserve">
|
||||
<value>The name of the launch profile (if any) to use when launching the application.</value>
|
||||
</data>
|
||||
<data name="CommandOptionNoLaunchProfileDescription" xml:space="preserve">
|
||||
<value>Do not attempt to use launchSettings.json to configure the application.</value>
|
||||
</data>
|
||||
<data name="RunCommandException" xml:space="preserve">
|
||||
<value>The build failed. Please fix the build errors and run again.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionUnableToRunSpecifyFramework" xml:space="preserve">
|
||||
<value>Unable to run your project
|
||||
Your project targets multiple frameworks. Please specify which framework to run using '{0}'.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionUnableToRun" xml:space="preserve">
|
||||
<value>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}'.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionNoProjects" xml:space="preserve">
|
||||
<value>Couldn't find a project to run. Ensure a project exists in {0}, or pass the path to the project using {1}.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionMultipleProjects" xml:space="preserve">
|
||||
<value>Specify which project file to use because {0} contains more than one project file.</value>
|
||||
</data>
|
||||
<data name="RunCommandAdditionalArgsHelpText" xml:space="preserve">
|
||||
<value>Arguments passed to the application that is being run.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionCouldNotLocateALaunchSettingsFile" xml:space="preserve">
|
||||
<value>The specified launch profile could not be located.</value>
|
||||
</data>
|
||||
<data name="RunCommandExceptionCouldNotApplyLaunchSettings" xml:space="preserve">
|
||||
<value>The launch profile "{0}" could not be applied.
|
||||
{1}</value>
|
||||
</data>
|
||||
<data name="DefaultLaunchProfileDisplayName" xml:space="preserve">
|
||||
<value>(Default)</value>
|
||||
</data>
|
||||
<data name="UsingLaunchSettingsFromMessage" xml:space="preserve">
|
||||
<value>Using launch settings from {0}...</value>
|
||||
</data>
|
||||
<data name="LaunchProfileIsNotAJsonObject" xml:space="preserve">
|
||||
<value>Launch profile is not a JSON object.</value>
|
||||
</data>
|
||||
<data name="LaunchProfileHandlerCannotBeLocated" xml:space="preserve">
|
||||
<value>The launch profile type '{0}' is not supported.</value>
|
||||
</data>
|
||||
<data name="UsableLaunchProfileCannotBeLocated" xml:space="preserve">
|
||||
<value>A usable launch profile could not be located.</value>
|
||||
</data>
|
||||
<data name="UnexpectedExceptionProcessingLaunchSettings" xml:space="preserve">
|
||||
<value>An unexpected exception occurred while processing launch settings:
|
||||
{0}</value>
|
||||
</data>
|
||||
<data name="LaunchProfilesCollectionIsNotAJsonObject" xml:space="preserve">
|
||||
<value>The 'profiles' property of the launch settings document is not a JSON object.</value>
|
||||
</data>
|
||||
<data name="DeserializationExceptionMessage" xml:space="preserve">
|
||||
<value>An error was encountered when reading launchSettings.json.
|
||||
{0}</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
|
||||
}
|
||||
}
|
153
src/dotnet/commands/dotnet-sln/LocalizableStrings.resx
Normal file
153
src/dotnet/commands/dotnet-sln/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,153 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET modify solution file command</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Command to add, remove, and list projects from the solution (SLN) file.</value>
|
||||
</data>
|
||||
<data name="AppHelpText" xml:space="preserve">
|
||||
<value>Projects to add or to remove from the solution.</value>
|
||||
</data>
|
||||
<data name="AddAppFullName" xml:space="preserve">
|
||||
<value>.NET Add project(s) to a solution file Command</value>
|
||||
</data>
|
||||
<data name="AddSubcommandHelpText" xml:space="preserve">
|
||||
<value>Add one or more specified projects to the solution.</value>
|
||||
</data>
|
||||
<data name="RemoveAppFullName" xml:space="preserve">
|
||||
<value>.NET Remove project(s) from a solution file Command</value>
|
||||
</data>
|
||||
<data name="RemoveSubcommandHelpText" xml:space="preserve">
|
||||
<value>Remove the specified project(s) from the solution. The project is not impacted.</value>
|
||||
</data>
|
||||
<data name="ListAppFullName" xml:space="preserve">
|
||||
<value>.NET List project(s) in a solution file Command</value>
|
||||
</data>
|
||||
<data name="ListSubcommandHelpText" xml:space="preserve">
|
||||
<value>List all projects in the solution.</value>
|
||||
</data>
|
||||
<data name="CreateAppFullName" xml:space="preserve">
|
||||
<value>.NET Create a solution file Command</value>
|
||||
</data>
|
||||
<data name="CreateSubcommandHelpText" xml:space="preserve">
|
||||
<value>Create a solution file.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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.";
|
||||
}
|
||||
}
|
159
src/dotnet/commands/dotnet-store/LocalizableStrings.resx
Normal file
159
src/dotnet/commands/dotnet-store/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,159 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Stores the specified assemblies for the .NET Platform. By default, these will be optimized for the target runtime and framework.</value>
|
||||
</data>
|
||||
<data name="ProjectManifest" xml:space="preserve">
|
||||
<value>PROJECT_MANIFEST</value>
|
||||
</data>
|
||||
<data name="ProjectManifestDescription" xml:space="preserve">
|
||||
<value>The XML file that contains the list of packages to be stored.</value>
|
||||
</data>
|
||||
<data name="OutputOption" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
<data name="OutputOptionDescription" xml:space="preserve">
|
||||
<value>Output directory in which to store the given assemblies.</value>
|
||||
</data>
|
||||
<data name="FrameworkVersionOption" xml:space="preserve">
|
||||
<value>FrameworkVersion</value>
|
||||
</data>
|
||||
<data name="FrameworkVersionOptionDescription" xml:space="preserve">
|
||||
<value>The Microsoft.NETCore.App package version that will be used to run the assemblies.</value>
|
||||
</data>
|
||||
<data name="SkipOptimizationOptionDescription" xml:space="preserve">
|
||||
<value>Skips the optimization phase.</value>
|
||||
</data>
|
||||
<data name="SkipSymbolsOptionDescription" xml:space="preserve">
|
||||
<value>Skips creating symbol files which can be used for profiling the optimized assemblies.</value>
|
||||
</data>
|
||||
<data name="IntermediateWorkingDirOption" xml:space="preserve">
|
||||
<value>IntermediateWorkingDir</value>
|
||||
</data>
|
||||
<data name="IntermediateWorkingDirOptionDescription" xml:space="preserve">
|
||||
<value>The directory used by the command to execute.</value>
|
||||
</data>
|
||||
<data name="SpecifyManifests" xml:space="preserve">
|
||||
<value>Specify at least one manifest with --manifest.</value>
|
||||
</data>
|
||||
<data name="IntermediateDirExists" xml:space="preserve">
|
||||
<value>Intermediate working directory {0} already exists. Remove {0} or specify another directory with -w.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -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 <PATH_TO_ADAPTER>";
|
||||
|
||||
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=<Defaults to unique file name>]""
|
||||
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 <PATH_TO_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";
|
||||
}
|
||||
}
|
219
src/dotnet/commands/dotnet-test/LocalizableStrings.resx
Normal file
219
src/dotnet/commands/dotnet-test/LocalizableStrings.resx
Normal file
|
@ -0,0 +1,219 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AppFullName" xml:space="preserve">
|
||||
<value>.NET Test Driver</value>
|
||||
</data>
|
||||
<data name="AppDescription" xml:space="preserve">
|
||||
<value>Test Driver for the .NET Platform</value>
|
||||
</data>
|
||||
<data name="CmdArgProject" xml:space="preserve">
|
||||
<value>PROJECT</value>
|
||||
</data>
|
||||
<data name="CmdArgDescription" xml:space="preserve">
|
||||
<value>The project to test. Defaults to the current directory.</value>
|
||||
</data>
|
||||
<data name="CmdSettingsFile" xml:space="preserve">
|
||||
<value>SETTINGS_FILE</value>
|
||||
</data>
|
||||
<data name="CmdSettingsDescription" xml:space="preserve">
|
||||
<value>Settings to use when running tests.</value>
|
||||
</data>
|
||||
<data name="CmdListTestsDescription" xml:space="preserve">
|
||||
<value>Lists discovered tests</value>
|
||||
</data>
|
||||
<data name="CmdTestCaseFilterExpression" xml:space="preserve">
|
||||
<value>EXPRESSION</value>
|
||||
</data>
|
||||
<data name="CmdTestCaseFilterDescription" xml:space="preserve">
|
||||
<value>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
|
||||
</value>
|
||||
</data>
|
||||
<data name="CmdTestAdapterPathDescription" xml:space="preserve">
|
||||
<value>Use custom adapters from the given path in the test run.
|
||||
Example: --test-adapter-path <PATH_TO_ADAPTER></value>
|
||||
</data>
|
||||
<data name="CmdTestAdapterPath" xml:space="preserve">
|
||||
<value>PATH_TO_ADAPTER</value>
|
||||
</data>
|
||||
<data name="CmdLoggerOption" xml:space="preserve">
|
||||
<value>LoggerUri/FriendlyName</value>
|
||||
</data>
|
||||
<data name="CmdLoggerDescription" xml:space="preserve">
|
||||
<value>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</value>
|
||||
</data>
|
||||
<data name="CmdConfiguration" xml:space="preserve">
|
||||
<value>CONFIGURATION</value>
|
||||
</data>
|
||||
<data name="CmdConfigDescription" xml:space="preserve">
|
||||
<value>Configuration to use for building the project. Default for most projects is "Debug".</value>
|
||||
</data>
|
||||
<data name="CmdFramework" xml:space="preserve">
|
||||
<value>FRAMEWORK</value>
|
||||
</data>
|
||||
<data name="CmdFrameworkDescription" xml:space="preserve">
|
||||
<value>Looks for test binaries for a specific framework</value>
|
||||
</data>
|
||||
<data name="CmdOutputDir" xml:space="preserve">
|
||||
<value>OUTPUT_DIR</value>
|
||||
</data>
|
||||
<data name="CmdOutputDescription" xml:space="preserve">
|
||||
<value>Directory in which to find the binaries to be run</value>
|
||||
</data>
|
||||
<data name="CmdPathToLogFile" xml:space="preserve">
|
||||
<value>PATH_TO_FILE</value>
|
||||
</data>
|
||||
<data name="CmdPathTologFileDescription" xml:space="preserve">
|
||||
<value>Enable verbose logs for test platform.
|
||||
Logs are written to the provided file.</value>
|
||||
</data>
|
||||
<data name="CmdNoBuildDescription" xml:space="preserve">
|
||||
<value>Do not build project before testing.</value>
|
||||
</data>
|
||||
<data name="CmdResultsDirectoryDescription" xml:space="preserve">
|
||||
<value>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></value>
|
||||
</data>
|
||||
<data name="CmdPathToResultsDirectory" xml:space="preserve">
|
||||
<value>PATH_TO_RESULTS_DIRECTORY</value>
|
||||
</data>
|
||||
<data name="RunSettingsArgumentsDescription" xml:space="preserve">
|
||||
<value>
|
||||
|
||||
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</value>
|
||||
</data>
|
||||
<data name="cmdCollectFriendlyName" xml:space="preserve">
|
||||
<value>DATA_COLLECTOR_FRIENDLY_NAME</value>
|
||||
</data>
|
||||
<data name="cmdCollectDescription" xml:space="preserve">
|
||||
<value>Enables data collector for the test run.
|
||||
More info here : https://aka.ms/vstest-collect</value>
|
||||
</data>
|
||||
</root>
|
|
@ -15,6 +15,31 @@
|
|||
<Compile Remove="commands\dotnet-new\**" />
|
||||
<Compile Include="commands\dotnet-new\*.cs" />
|
||||
<EmbeddedResource Include="commands\dotnet-new\*.zip" />
|
||||
<EmbeddedResource Update="**\*.resx" GenerateSource="true" />
|
||||
<EmbeddedResource Update="*.resx" Namespace="Microsoft.DotNet.Tools" />
|
||||
<EmbeddedResource Update="**\dotnet-add\*.resx" Namespace="Microsoft.DotNet.Tools.Add" />
|
||||
<EmbeddedResource Update="**\dotnet-add-package\*.resx" Namespace="Microsoft.DotNet.Tools.Add.PackageReference" />
|
||||
<EmbeddedResource Update="**\dotnet-add-proj\*.resx" Namespace="Microsoft.DotNet.Tools.Add.ProjectToSolution" />
|
||||
<EmbeddedResource Update="**\dotnet-add-reference\*.resx" Namespace="Microsoft.DotNet.Tools.Add.ProjectToProjectReference" />
|
||||
<EmbeddedResource Update="**\dotnet-build\*.resx" Namespace="Microsoft.DotNet.Tools.Build" />
|
||||
<EmbeddedResource Update="**\dotnet-clean\*.resx" Namespace="Microsoft.DotNet.Tools.Clean" />
|
||||
<EmbeddedResource Update="**\dotnet-help\*.resx" Namespace="Microsoft.DotNet.Tools.Help" />
|
||||
<EmbeddedResource Update="**\dotnet-list\*.resx" Namespace="Microsoft.DotNet.Tools.List" />
|
||||
<EmbeddedResource Update="**\dotnet-list-proj\*.resx" Namespace="Microsoft.DotNet.Tools.List.ProjectsInSolution" />
|
||||
<EmbeddedResource Update="**\dotnet-list-reference\*.resx" Namespace="Microsoft.DotNet.Tools.List.ProjectToProjectReferences" />
|
||||
<EmbeddedResource Update="**\dotnet-migrate\*.resx" Namespace="Microsoft.DotNet.Tools.Migrate" />
|
||||
<EmbeddedResource Update="**\dotnet-msbuild\*.resx" Namespace="Microsoft.DotNet.Tools.MSBuild" />
|
||||
<EmbeddedResource Update="**\dotnet-pack\*.resx" Namespace="Microsoft.DotNet.Tools.Pack" />
|
||||
<EmbeddedResource Update="**\dotnet-publish\*.resx" Namespace="Microsoft.DotNet.Tools.Publish" />
|
||||
<EmbeddedResource Update="**\dotnet-remove\*.resx" Namespace="Microsoft.DotNet.Tools.Remove" />
|
||||
<EmbeddedResource Update="**\dotnet-remove-package\*.resx" Namespace="Microsoft.DotNet.Tools.Remove.PackageReference" />
|
||||
<EmbeddedResource Update="**\dotnet-remove-proj\*.resx" Namespace="Microsoft.DotNet.Tools.Remove.ProjectFromSolution" />
|
||||
<EmbeddedResource Update="**\dotnet-remove-reference\*.resx" Namespace="Microsoft.DotNet.Tools.Remove.ProjectToProjectReference" />
|
||||
<EmbeddedResource Update="**\dotnet-restore\*.resx" Namespace="Microsoft.DotNet.Tools.Restore" />
|
||||
<EmbeddedResource Update="**\dotnet-run\*.resx" Namespace="Microsoft.DotNet.Tools.Run" />
|
||||
<EmbeddedResource Update="**\dotnet-sln\*.resx" Namespace="Microsoft.DotNet.Tools.Sln" />
|
||||
<EmbeddedResource Update="**\dotnet-store\*.resx" Namespace="Microsoft.DotNet.Tools.Store" />
|
||||
<EmbeddedResource Update="**\dotnet-test\*.resx" Namespace="Microsoft.DotNet.Tools.Test" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj" />
|
||||
|
|
Loading…
Reference in a new issue