diff --git a/src/Cli/dotnet/CommonLocalizableStrings.resx b/src/Cli/dotnet/CommonLocalizableStrings.resx index 6deec0715801..c5a8fc30e679 100644 --- a/src/Cli/dotnet/CommonLocalizableStrings.resx +++ b/src/Cli/dotnet/CommonLocalizableStrings.resx @@ -689,4 +689,14 @@ setx PATH "%PATH%;{0}" Specifying both the `-r|--runtime` and `-os` options is not supported. + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + + The '--self-contained' and '--no-self-contained' options cannot be used together. + diff --git a/src/Cli/dotnet/CommonOptions.cs b/src/Cli/dotnet/CommonOptions.cs index b3b98dab1a73..345bfc2aed65 100644 --- a/src/Cli/dotnet/CommonOptions.cs +++ b/src/Cli/dotnet/CommonOptions.cs @@ -49,7 +49,7 @@ public static Option RuntimeOption(string description, bool withShortOption = tr description) { ArgumentHelpName = CommonLocalizableStrings.RuntimeIdentifierArgumentName - }.ForwardAsSingle(o => $"-property:RuntimeIdentifier={o}") + }.ForwardAsMany(o => new string[] { $"-property:RuntimeIdentifier={o}", "-property:_CommandLineDefinedRuntimeIdentifier=true" }) .AddSuggestions(Suggest.RunTimesFromProjectFile()); public static Option CurrentRuntimeOption(string description) => @@ -109,6 +109,18 @@ public static Option OperatingSystemOption() => public static Option DebugOption() => new Option("--debug"); + public static Option SelfContainedOption() => + new ForwardedOption( + "--self-contained", + CommonLocalizableStrings.SelfContainedOptionDescription) + .ForwardAsMany(o => new string[] { $"-property:SelfContained={o}", "-property:_CommandLineDefinedSelfContained=true" }); + + public static Option NoSelfContainedOption() => + new ForwardedOption( + "--no-self-contained", + CommonLocalizableStrings.FrameworkDependentOptionDescription) + .ForwardAsMany(o => new string[] { "-property:SelfContained=false", "-property:_CommandLineDefinedSelfContained=true" }); + public static bool VerbosityIsDetailedOrDiagnostic(this VerbosityOptions verbosity) { return verbosity.Equals(VerbosityOptions.diag) || @@ -117,6 +129,14 @@ public static bool VerbosityIsDetailedOrDiagnostic(this VerbosityOptions verbosi verbosity.Equals(VerbosityOptions.detailed); } + public static void ValidateSelfContainedOptions(bool hasSelfContainedOption, bool hasNoSelfContainedOption) + { + if (hasSelfContainedOption && hasNoSelfContainedOption) + { + throw new GracefulException(CommonLocalizableStrings.SelfContainAndNoSelfContainedConflict); + } + } + internal static IEnumerable ResolveArchOptionToRuntimeIdentifier(string arg, ParseResult parseResult) { if (parseResult.HasOption(RuntimeOption(string.Empty).Aliases.First())) diff --git a/src/Cli/dotnet/commands/dotnet-build/BuildCommand.cs b/src/Cli/dotnet/commands/dotnet-build/BuildCommand.cs index 224e380cf45e..5c9e8a0a0b34 100644 --- a/src/Cli/dotnet/commands/dotnet-build/BuildCommand.cs +++ b/src/Cli/dotnet/commands/dotnet-build/BuildCommand.cs @@ -7,7 +7,6 @@ using Parser = Microsoft.DotNet.Cli.Parser; using System.CommandLine.Parsing; using System; -using System.Linq; namespace Microsoft.DotNet.Tools.Build { @@ -33,6 +32,9 @@ public static BuildCommand FromArgs(string[] args, string msbuildPath = null) parseResult.ShowHelpOrErrorIfAppropriate(); + CommonOptions.ValidateSelfContainedOptions(parseResult.HasOption(BuildCommandParser.SelfContainedOption), + parseResult.HasOption(BuildCommandParser.NoSelfContainedOption)); + msbuildArgs.Add($"-consoleloggerparameters:Summary"); if (parseResult.HasOption(BuildCommandParser.NoIncrementalOption)) diff --git a/src/Cli/dotnet/commands/dotnet-build/BuildCommandParser.cs b/src/Cli/dotnet/commands/dotnet-build/BuildCommandParser.cs index 5a4adc5e6cf2..1ff042235022 100644 --- a/src/Cli/dotnet/commands/dotnet-build/BuildCommandParser.cs +++ b/src/Cli/dotnet/commands/dotnet-build/BuildCommandParser.cs @@ -31,6 +31,12 @@ internal static class BuildCommandParser public static readonly Option NoRestoreOption = CommonOptions.NoRestoreOption(); + public static readonly Option SelfContainedOption = CommonOptions.SelfContainedOption(); + + public static readonly Option NoSelfContainedOption = CommonOptions.NoSelfContainedOption(); + + public static readonly Option RuntimeOption = CommonOptions.RuntimeOption(LocalizableStrings.RuntimeOptionDescription); + public static Command GetCommand() { var command = new Command("build", LocalizableStrings.AppFullName); @@ -39,7 +45,7 @@ public static Command GetCommand() RestoreCommandParser.AddImplicitRestoreOptions(command, includeRuntimeOption: false, includeNoDependenciesOption: false); command.AddOption(CommonOptions.FrameworkOption(LocalizableStrings.FrameworkOptionDescription)); command.AddOption(CommonOptions.ConfigurationOption(LocalizableStrings.ConfigurationOptionDescription)); - command.AddOption(CommonOptions.RuntimeOption(LocalizableStrings.RuntimeOptionDescription)); + command.AddOption(RuntimeOption); command.AddOption(CommonOptions.VersionSuffixOption()); command.AddOption(NoRestoreOption); command.AddOption(CommonOptions.InteractiveMsBuildForwardOption()); @@ -49,7 +55,9 @@ public static Command GetCommand() command.AddOption(NoIncrementalOption); command.AddOption(NoDependenciesOption); command.AddOption(NoLogoOption); - command.AddOption(CommonOptions.ArchitectureOption()); + command.AddOption(SelfContainedOption); + command.AddOption(NoSelfContainedOption); + command.AddOption(CommonOptions.ArchitectureOption()); command.AddOption(CommonOptions.OperatingSystemOption()); return command; diff --git a/src/Cli/dotnet/commands/dotnet-publish/LocalizableStrings.resx b/src/Cli/dotnet/commands/dotnet-publish/LocalizableStrings.resx index afe5d1ae9bd4..4cf239b7dde9 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/LocalizableStrings.resx +++ b/src/Cli/dotnet/commands/dotnet-publish/LocalizableStrings.resx @@ -135,10 +135,6 @@ The path to a target manifest file that contains the list of packages to be excluded from the publish step. - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Do not build the project before publishing. Implies --no-restore. @@ -155,10 +151,4 @@ The default is to publish a framework-dependent application. Do not display the startup banner or the copyright message. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - diff --git a/src/Cli/dotnet/commands/dotnet-publish/Program.cs b/src/Cli/dotnet/commands/dotnet-publish/Program.cs index 1ba71ef0a2c9..40fbb1637421 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/Program.cs +++ b/src/Cli/dotnet/commands/dotnet-publish/Program.cs @@ -35,11 +35,8 @@ public static PublishCommand FromArgs(string[] args, string msbuildPath = null) msbuildArgs.Add("-target:Publish"); - if (parseResult.HasOption(PublishCommandParser.SelfContainedOption) && - parseResult.HasOption(PublishCommandParser.NoSelfContainedOption)) - { - throw new GracefulException(LocalizableStrings.SelfContainAndNoSelfContainedConflict); - } + CommonOptions.ValidateSelfContainedOptions(parseResult.HasOption(PublishCommandParser.SelfContainedOption), + parseResult.HasOption(PublishCommandParser.NoSelfContainedOption)); msbuildArgs.AddRange(parseResult.OptionValuesToBeForwarded(PublishCommandParser.GetCommand())); diff --git a/src/Cli/dotnet/commands/dotnet-publish/PublishCommandParser.cs b/src/Cli/dotnet/commands/dotnet-publish/PublishCommandParser.cs index 6344de64f300..09e3ceed97c0 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/PublishCommandParser.cs +++ b/src/Cli/dotnet/commands/dotnet-publish/PublishCommandParser.cs @@ -31,17 +31,17 @@ internal static class PublishCommandParser public static readonly Option NoBuildOption = new ForwardedOption("--no-build", LocalizableStrings.NoBuildOptionDescription) .ForwardAs("-property:NoBuild=true"); - public static readonly Option SelfContainedOption = new ForwardedOption("--self-contained", LocalizableStrings.SelfContainedOptionDescription) - .ForwardAsSingle(o => $"-property:SelfContained={o}"); - - public static readonly Option NoSelfContainedOption = new ForwardedOption("--no-self-contained", LocalizableStrings.NoSelfContainedOptionDescription) - .ForwardAs("-property:SelfContained=false"); - public static readonly Option NoLogoOption = new ForwardedOption("--nologo", LocalizableStrings.CmdNoLogo) .ForwardAs("-nologo"); public static readonly Option NoRestoreOption = CommonOptions.NoRestoreOption(); + public static readonly Option SelfContainedOption = CommonOptions.SelfContainedOption(); + + public static readonly Option NoSelfContainedOption = CommonOptions.NoSelfContainedOption(); + + public static readonly Option RuntimeOption = CommonOptions.RuntimeOption(LocalizableStrings.RuntimeOptionDescription); + public static Command GetCommand() { var command = new Command("publish", LocalizableStrings.AppDescription); @@ -55,7 +55,7 @@ public static Command GetCommand() command.AddOption(NoSelfContainedOption); command.AddOption(NoLogoOption); command.AddOption(CommonOptions.FrameworkOption(LocalizableStrings.FrameworkOptionDescription)); - command.AddOption(CommonOptions.RuntimeOption(LocalizableStrings.RuntimeOptionDescription)); + command.AddOption(RuntimeOption); command.AddOption(CommonOptions.ConfigurationOption(LocalizableStrings.ConfigurationOptionDescription)); command.AddOption(CommonOptions.VersionSuffixOption()); command.AddOption(CommonOptions.InteractiveMsBuildForwardOption()); diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.cs.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.cs.xlf index 9cd8a9022177..2f8acca4af7f 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.cs.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.cs.xlf @@ -22,11 +22,6 @@ Cílová architektura pro publikování. Cílová architektura musí být zadaná v souboru projektu. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Publikujte svoji aplikaci jako aplikaci závislou na architektuře bez modulu runtime .NET. Aby bylo možné vaši aplikaci spustit, musí být nainstalovaný podporovaný modul runtime .NET. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ Ve výchozím nastavení je publikována aplikace závislá na architektuře.Konfigurace pro publikování. Výchozí možností pro většinu projektů je Debug. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Možnosti --self-contained a --no-self-contained jsou vzájemně konfliktní. Zadejte pouze jednu z nich. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Publikujte se svou aplikací modul runtime pro .NET, aby ho nebylo nutné instalovat na cílovém počítači. -Pokud se zadá identifikátor modulu runtime, výchozí hodnota je true. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.de.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.de.xlf index a5241fc3de6f..3decb88fb67e 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.de.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.de.xlf @@ -22,11 +22,6 @@ Das Zielframework für die Veröffentlichung. Das Zielframework muss in der Projektdatei angegeben werden. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Hiermit wird Ihre Anwendung als Framework-abhängige Anwendung ohne .NET-Runtime veröffentlicht. Es muss eine unterstützte .NET-Runtime installiert sein, um Ihre Anwendung auszuführen. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ Standardmäßig wird eine Framework-abhängige Anwendung veröffentlicht.Die Konfiguration für die Veröffentlichung. Der Standardwert für die meisten Projekte ist "Debug". - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Die Optionen "--self-contained" und "--no-self-contained" stehen in Konflikt zueinander. Geben Sie nur eine der Optionen an. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Hiermit wird die .NET-Runtime mit Ihrer Anwendung veröffentlicht, sodass die Runtime nicht auf dem Zielcomputer installiert werden muss. -Der Standardwert lautet TRUE, wenn eine Runtime-ID angegeben wird. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.es.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.es.xlf index 89173542d05e..1477c2b4d617 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.es.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.es.xlf @@ -22,11 +22,6 @@ La plataforma de destino para la que se publica. La plataforma de destino se debe especificar en el archivo de proyecto. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Publique la aplicación como dependiente del marco de trabajo sin el entorno de ejecución .NET. Para ejecutar la aplicación, debe instalarse un entorno de ejecución .NET admitido. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ El valor predeterminado es publicar una aplicación dependiente del marco.La configuración para la que se publica. El valor predeterminado para la mayoría de los proyectos es "Debug". - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Las opciones "--self-contained" y "--no-self-contained" están en conflicto entre sí. Especifique solo una de ellas. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Publique el entorno de ejecución .NET con la aplicación para que no sea necesario instalar dicho entorno en la máquina de destino. -El valor predeterminado es "true" si se especifica un identificador de entorno de ejecución. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.fr.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.fr.xlf index a6821df5a406..2d4bcda7a532 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.fr.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.fr.xlf @@ -22,11 +22,6 @@ Framework cible pour lequel la publication est effectuée. Le framework cible doit être spécifié dans le fichier projet. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Publiez votre application en tant qu'application dépendante du framework sans le runtime .NET. Vous devez installer un runtime .NET pris en charge pour permettre l'exécution de votre application. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ La valeur par défaut est de publier une application dépendante du framework.Configuration pour laquelle la publication est effectuée. La valeur par défaut pour la plupart des projets est 'Debug'. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Les options '--self-contained' et '--no-self-contained' sont en conflit. Spécifiez uniquement l'une de ces options. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Publiez le runtime .NET avec votre application pour éviter à l'utilisateur de l'installer sur la machine cible. -La valeur par défaut est 'true' si un identificateur de runtime est spécifié. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.it.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.it.xlf index 7b987500a79b..92a894296033 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.it.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.it.xlf @@ -22,11 +22,6 @@ Framework di destinazione per cui eseguire la pubblicazione. Il framework di destinazione deve essere specificato nel file di progetto. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Pubblica l'applicazione come applicazione dipendente dal framework senza il runtime .NET. Per eseguire l'applicazione, è necessario installare un runtime .NET supportato. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ Per impostazione predefinita, viene generato un pacchetto dipendente dal framewo Configurazione per cui eseguire la pubblicazione. L'impostazione predefinita per la maggior parte dei progetti è 'Debug'. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Le opzioni '--self-contained' e '--no-self-contained' sono in conflitto tra loro. Specificare una sola delle opzioni. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Pubblica il runtime .NET con l'applicazione in modo che non sia necessario installarlo nel computer di destinazione. -L'impostazione predefinita è 'true' se si specifica un identificatore di runtime. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ja.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ja.xlf index c6a55337eadc..c652700f20fe 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ja.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ja.xlf @@ -22,11 +22,6 @@ 公開する対象のターゲット フレームワーク。ターゲット フレームワークはプロジェクト ファイルで指定する必要があります。 - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - .NET ランタイムを使用せずに、アプリケーションをフレームワーク依存アプリケーションとして公開します。アプリケーションを実行するには、サポートされている .NET ランタイムをインストールする必要があります。 - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ The default is to publish a framework-dependent application. 公開する対象の構成。大部分のプロジェクトで、既定値は 'Debug' です。 - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - '--self-contained' と '--no-self-contained' オプションは競合しています。いずれかのオプションのみを指定してください。 - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - ランタイムをターゲット マシンにインストールする必要がないように、アプリケーションと一緒に .NET ランタイムを発行します。 -ランタイム識別子が指定されている場合、既定値は 'true' です。 - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ko.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ko.xlf index ea7c3ff3dd84..f55e0bf59313 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ko.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ko.xlf @@ -22,11 +22,6 @@ 게시할 대상 프레임워크입니다. 대상 프레임워크는 프로젝트 파일에서 지정해야 합니다. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - .NET 런타임 없이 애플리케이션을 프레임워크 종속 애플리케이션으로 게시합니다. 애플리케이션을 실행하려면 지원되는 .NET 런타임을 설치해야 합니다. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ The default is to publish a framework-dependent application. 게시할 구성입니다. 대부분의 프로젝트에서 기본값은 'Debug'입니다. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - '--self-contained' 옵션과 '--no-self-contained' 옵션이 서로 충돌합니다. 해당 옵션 중 하나만 지정하세요. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - 대상 머신에 런타임을 설치할 필요가 없도록 애플리케이션과 함께 .NET 런타임을 게시합니다. -런타임 식별자를 지정한 경우 기본값은 'true'입니다. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pl.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pl.xlf index 988bda212118..7a139a9f64e0 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pl.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pl.xlf @@ -22,11 +22,6 @@ Platforma docelowa publikacji. Platforma docelowa musi być określona w pliku projektu. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Opublikuj aplikację jako aplikację zależną od struktury bez środowiska uruchomieniowego .NET. Aby uruchomić aplikację, należy zainstalować obsługiwane środowisko uruchomieniowe .NET. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ Domyślnie publikowana jest aplikacja zależna od struktury. Konfiguracja, dla której ma być wykonane publikowanie. W przypadku większości projektów ustawienie domyślne to „Debugowanie”. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Występuje konflikt między opcjami „--self-contained” i „--no-self-contained”. Określ tylko jedną z tych opcji. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Opublikuj środowisko uruchomieniowe platformy .NET ze swoją aplikacją, aby nie trzeba było go instalować na maszynie docelowej. -Jeśli określony jest identyfikator środowiska uruchomieniowego, wartość domyślna to „true”. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pt-BR.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pt-BR.xlf index 9e4ac47431e3..12a432daaf7b 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pt-BR.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.pt-BR.xlf @@ -22,11 +22,6 @@ A estrutura de destino da publicação. A estrutura de destino precisa ser especificada no arquivo de projeto. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Publique o seu aplicativo como um aplicativo dependente de estrutura sem o runtime do .NET. Um runtime do .NET com suporte precisa ser instalado para executar o aplicativo. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ O padrão é publicar uma aplicação dependente de framework. A configuração para a qual a publicação ocorrerá. O padrão para a maioria dos projetos é 'Debug'. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - As opções '--self-contained' e '--no-self-contained' são conflitantes entre si. Especifique apenas uma das opções. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Publique o runtime do .NET com seu aplicativo para que ele não precise estar instalado no computador de destino. -O padrão é 'true' se um identificador de runtime for especificado. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ru.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ru.xlf index b0552dd80e04..ed1a697e75c5 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ru.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.ru.xlf @@ -22,11 +22,6 @@ Целевая платформа публикации. Целевая платформа должна быть указана в файле проекта. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Публикация приложения как зависимого от платформы без среды выполнения .NET. Для запуска приложения необходимо установить поддерживаемую среду выполнения .NET. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ The default is to publish a framework-dependent application. Конфигурация для публикации. По умолчанию для большинства проектов используется "Debug". - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - Параметры "--self-contained" и "--no-self-contained" конфликтуют друг с другом. Укажите только один из параметров. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Публикация среды выполнения .NET вместе с вашим приложением, чтобы ее не пришлось устанавливать на целевом компьютере. -Значение по умолчанию — "true", если указан идентификатор среды выполнения. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.tr.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.tr.xlf index 7fa807b6e6da..6f7f23cf8209 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.tr.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.tr.xlf @@ -22,11 +22,6 @@ Yayımlamanın yapılacağı hedef çerçeve. Hedef çerçevenin proje dosyasında belirtilmesi gerekir. - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - Uygulamanızı .NET çalışma zamanı olmadan çerçeveye bağımlı bir uygulama olarak yayımlayın. Uygulamanızı çalıştırmak için desteklenen bir .NET çalışma zamanı yüklenmelidir. - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ Varsayılan durum, çerçeveye bağımlı bir uygulama yayımlamaktır. Yayımlanacak yapılandırma. Çoğu proje için varsayılan, ‘Hata Ayıklama’ seçeneğidir. - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - '--self-contained' ve '--no-self-contained' seçenekleri birbiriyle çakışır. Seçeneklerden yalnızca birini belirtin. - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - Uygulamanızla birlikte .NET çalışma zamanını yayımladığınızda hedef makinede çalışma zamanının yüklü olması gerekmez. -Çalışma zamanı tanımlayıcısı belirtildiyse varsayılan değer 'true' olur. - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hans.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hans.xlf index 4b6151cc8e1e..87d6b7d341b4 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hans.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hans.xlf @@ -22,11 +22,6 @@ 要发布的目标框架。必须在项目文件中指定目标框架。 - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - 在没有 .NET 运行时的情况下将应用程序发布为依赖框架的应用程序。必须安装受支持的 .NET 运行时才能运行该应用程序。 - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ The default is to publish a framework-dependent application. 要发布的配置。大多数项目的默认值是 "Debug"。 - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - "--self-contained" 和 "--no-self-contained" 选项彼此冲突。请仅指定其中一个选项。 - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - 随应用程序一起发布 .NET 运行时,这样就不需要在目标计算机上安装运行时。 -如果指定了运行时标识符,则默认值为 "true"。 - - \ No newline at end of file diff --git a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hant.xlf b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hant.xlf index 950577e9c0c2..0174c85c9804 100644 --- a/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hant.xlf +++ b/src/Cli/dotnet/commands/dotnet-publish/xlf/LocalizableStrings.zh-Hant.xlf @@ -22,11 +22,6 @@ 要為其進行發佈的目標架構。該架構必須在專案檔中指定。 - - Publish your application as a framework dependent application without the .NET runtime. A supported .NET runtime must be installed to run your application. - 將您的應用程式發佈為不含 .NET 執行階段的架構相依應用程式。必須安裝支援的 .NET 執行階段才能執行您的應用程式。 - - OUTPUT_DIR OUTPUT_DIR @@ -64,18 +59,6 @@ The default is to publish a framework-dependent application. 要為其進行發佈的組態。大部分的專案預設為「偵錯」。 - - The '--self-contained' and '--no-self-contained' options conflict with each other. Specify only one of the options. - '--self-contained' 與 '--no-self-contained' 選項互相衝突。請僅指定其中一個選項。 - - - - Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. -The default is 'true' if a runtime identifier is specified. - 將 .NET 執行階段發佈於您的應用程式中,以便目標電腦不必安裝執行階段。 -如有指定執行階段識別碼,則預設為 'true'。 - - \ No newline at end of file diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.cs.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.cs.xlf index 38b0b85623f9..2c4fff34cddd 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.cs.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.cs.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. V {0} se našlo několik projektů. Vyberte, který z nich chcete použít. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Balíček + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Řešení diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.de.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.de.xlf index 778eda552b58..93ccace590bd 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.de.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.de.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. In "{0}" wurden mehrere Projekte gefunden. Geben Sie an, welches davon verwendet werden soll. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Paket + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Projektmappe diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.es.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.es.xlf index f2fc03354dbb..8b5f301768fe 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.es.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.es.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Se han encontrado varios proyectos en "{0}". Especifique el que debe usarse. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Paquete + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Solución diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.fr.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.fr.xlf index a5fb6ba30e55..f876daa63ce2 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.fr.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.fr.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Plusieurs projets dans '{0}'. Spécifiez celui à utiliser. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Package + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Solution diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.it.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.it.xlf index 038d64df6200..53069a26c9a5 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.it.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.it.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Sono stati trovati più progetti in `{0}`. Specificare quello da usare. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Pacchetto + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Soluzione diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ja.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ja.xlf index 31171bbf281b..69404148ec9c 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ja.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ja.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. `{0}` に複数のプロジェクトが見つかりました。使用するプロジェクトを指定してください。 @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" パッケージ + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution ソリューション diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ko.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ko.xlf index 90511a3eccad..28cdbd174eab 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ko.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ko.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. '{0}'에서 프로젝트를 두 개 이상 찾았습니다. 사용할 프로젝트를 지정하세요. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" 패키지 + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution 솔루션 diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.pl.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.pl.xlf index e5ed5011dc26..c94f55e9b1a7 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.pl.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.pl.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Znaleziono więcej niż jeden projekt w lokalizacji „{0}”. Określ, który ma zostać użyty. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Pakiet + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Rozwiązanie diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.pt-BR.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.pt-BR.xlf index 662c7c6bad03..49df27c5ebc7 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.pt-BR.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.pt-BR.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Foi encontrado mais de um projeto em ‘{0}’. Especifique qual deve ser usado. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Pacote + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Solução diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ru.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ru.xlf index 7cbcdca1bda9..2ab9b2976c90 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.ru.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.ru.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. Найдено несколько проектов в "{0}". Выберите один. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Пакет + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Решение diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.tr.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.tr.xlf index 9b7d12a5e003..2a6a2fe78891 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.tr.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.tr.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. `{0}` içinde birden fazla proje bulundu. Hangisinin kullanılacağını belirtin. @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" Paket + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution Çözüm diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hans.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hans.xlf index a1d08fa9770f..45d1f202932a 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hans.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hans.xlf @@ -95,6 +95,11 @@ EOF + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. 在“{0}”中找到多个项目。请指定使用哪一个。 @@ -160,6 +165,18 @@ EOF 打包 + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution 解决方案 diff --git a/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hant.xlf b/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hant.xlf index be10e0f154eb..e02e7bf2fc8c 100644 --- a/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hant.xlf +++ b/src/Cli/dotnet/xlf/CommonLocalizableStrings.zh-Hant.xlf @@ -95,6 +95,11 @@ export PATH="$PATH:{0}" + + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application. + + Found more than one project in `{0}`. Specify which one to use. 在 `{0}` 中找到多個專案。請指定要使用的專案。 @@ -160,6 +165,18 @@ export PATH="$PATH:{0}" 套件 + + The '--self-contained' and '--no-self-contained' options cannot be used together. + The '--self-contained' and '--no-self-contained' options cannot be used together. + + + + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. +The default is 'true' if a runtime identifier is specified. + + Solution 解決方案 diff --git a/src/Tasks/Common/Resources/Strings.resx b/src/Tasks/Common/Resources/Strings.resx index 08673edb1db0..123096535c20 100644 --- a/src/Tasks/Common/Resources/Strings.resx +++ b/src/Tasks/Common/Resources/Strings.resx @@ -811,7 +811,7 @@ To install these workloads, run the following command: {1} NETSDK1176: Placeholder {StrBegin="NETSDK1176: "} - This string is not used here, but is a placeholder for the error code, which is used by the "dotnet run" command. - + NETSDK1177: Failed to sign apphost with error code {1}: {0} {StrBegin="NETSDK1177: "} @@ -820,4 +820,8 @@ To install these workloads, run the following command: {1} You may need to build the project on another operating system or architecture, or update the .NET SDK. {StrBegin="NETSDK1178: "} - \ No newline at end of file + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + + diff --git a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf index c11134bceda8..3beb6e977965 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.cs.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.cs.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: odkazovaný projekt „{0}“ je spustitelný soubor, který není samostatně obsažený. Na spustitelný soubor, který není samostatně obsažený, nelze odkazovat pomocí samostatně obsaženého spustitelného souboru. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: Cesty AdditionalProbingPaths byly zadány pro GenerateRuntimeConfigurationFiles, ale vynechávají se, protože RuntimeConfigDevPath je prázdné. diff --git a/src/Tasks/Common/Resources/xlf/Strings.de.xlf b/src/Tasks/Common/Resources/xlf/Strings.de.xlf index 6865fa914d19..277fde690941 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.de.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.de.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: Das referenzierte Projekt "{0}" ist keine eigenständige ausführbare Datei. Der Verweis auf eine nicht eigenständige ausführbare Datei von einer eigenständigen ausführbaren Datei ist nicht möglich. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: Für GenerateRuntimeConfigurationFiles wurden "AdditionalProbingPaths" angegeben, sie werden jedoch übersprungen, weil "RuntimeConfigDevPath" leer ist. diff --git a/src/Tasks/Common/Resources/xlf/Strings.es.xlf b/src/Tasks/Common/Resources/xlf/Strings.es.xlf index 5ed642ba3109..f4ad83241aa9 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.es.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.es.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: el proyecto "{0}" al que se hace referencia es un ejecutable independiente. Un ejecutable independiente no puede hacer referencia a un archivo que no es independiente. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. diff --git a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf index 7a67edfaebeb..2545099987a1 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.fr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.fr.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: le projet référencé « {0} » est un exécutable qui n’est pas autonome. Un exécutable non autonome ne peut pas être référencé par un exécutable autonome. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: Des 'AdditionalProbingPaths' ont été spécifiés pour GenerateRuntimeConfigurationFiles, mais ils sont ignorés, car 'RuntimeConfigDevPath' est vide. diff --git a/src/Tasks/Common/Resources/xlf/Strings.it.xlf b/src/Tasks/Common/Resources/xlf/Strings.it.xlf index 814351eb43a9..7aa4a20463f9 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.it.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.it.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: il progetto '{0}' a cui viene fatto riferimento è un eseguibile non autonomo. Non è possibile fare riferimento a un eseguibile non autonomo da un eseguibile autonomo. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: per GenerateRuntimeConfigurationFiles è stato specificato 'AdditionalProbingPaths', ma questo valore verrà ignorato perché 'RuntimeConfigDevPath' è vuoto. diff --git a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf index d80316eb8562..d9b4c670a10b 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ja.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ja.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: 参照先プロジェクト'{0}'は、自己完結型以外の実行可能ファイルです。は、自己完結型以外の実行可能ファイルは自己完結型の実行可能ファイルでは参照できません。 {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: 'AdditionalProbingPaths' が GenerateRuntimeConfigurationFiles に指定されましたが、'RuntimeConfigDevPath' が空であるためスキップされます。 diff --git a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf index 314eca754bf8..7f05ccd91d0b 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ko.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ko.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: 참조된 프로젝트 '{0}'은(는) self-contained가 아닌 실행 파일입니다. self-contained가 아닌 실행 파일은 self-contained 실행 파일에서 참조할 수 없습니다. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: GenerateRuntimeConfigurationFiles에 대해 'AdditionalProbingPaths'가 지정되었지만 'RuntimeConfigDevPath'가 비어 있어서 건너뜁니다. diff --git a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf index 8763c28b1cc5..dd3651adf571 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pl.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pl.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: projekt „{0}”, do którego istnieje odwołanie, nie jest samodzielnym plikiem wykonywalnym. Niesamodzielny plik wykonywalny nie może odwoływać się do samodzielnego pliku wykonywalnego. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: Dla elementu GenerateRuntimeConfigurationFiles określono ścieżki AdditionalProbingPaths, ale są one pomijane, ponieważ element „RuntimeConfigDevPath” jest pusty. diff --git a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf index 6d0c8608daaf..89107b8fedb6 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: O projeto referenciado '{0}' é um executável não autossuficiente. Um executável não autossuficiente não pode ser referenciado por um executável autossuficiente. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: Os 'AdditionalProbingPaths' foram especificados para os GenerateRuntimeConfigurationFiles, mas estão sendo ignorados porque 'RuntimeConfigDevPath' está vazio. diff --git a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf index 60da28514bb9..9298f192fd45 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.ru.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.ru.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: проект "{0}", на который указывает ссылка, является неавтономным исполняемым файлом. Автономный исполняемый файл не может ссылаться на неавтономный исполняемый файл. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: для GenerateRuntimeConfigurationFiles были указаны пути "AdditionalProbingPaths", но они будут пропущены, так как "RuntimeConfigDevPath" пуст. diff --git a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf index 3a53553d7b1f..07904136ed36 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.tr.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.tr.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: Başvurulan '{0}' projesi kendi içinde çalıştırılabilir değil. Kendi içinde çalıştırılabilir olmayan, kendi içinde çalıştırılabilir olana başvuramaz. {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: GenerateRuntimeConfigurationFiles için 'AdditionalProbingPaths' belirtildi ancak 'RuntimeConfigDevPath' boş olduğundan atlanıyor. diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf index 0a979192f4e9..f0467af79e6c 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: 引用的项目“{0}”是非自包含可执行文件。自包含的可执行文件不能引用非自包含的可执行文件。 {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: "AdditionalProbingPaths" 被指定给 GenerateRuntimeConfigurationFiles,但被跳过,因为 "RuntimeConfigDevPath" 为空。 diff --git a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf index f199482d1b24..81ec932fc7d3 100644 --- a/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf @@ -735,6 +735,11 @@ The following are names of parameters or literal values and should not be transl NETSDK1150: 參照的專案 '{0}' 是非獨立的可執行檔。獨立可執行檔無法參照非獨立的可執行檔。 {StrBegin="NETSDK1150: "} + + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. + {StrBegin="NETSDK1179: "} + NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty. NETSDK1048: 已為 GenerateRuntimeConfigurationFiles 指定了 'AdditionalProbingPaths',但因為 'RuntimeConfigDevPath' 是空的,所以已跳過它。 diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets index e5182c2edd12..69b6ed2a9614 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets @@ -1079,6 +1079,23 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + + + + +