From c2875041d3e32dba5cc7e24dc6176226573dd9cb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:26:06 +0000 Subject: [PATCH 1/2] Initial plan From 9503ad50b219f1855bdcbb42dab45312b2447502 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:44:29 +0000 Subject: [PATCH 2/2] Improve clarity of 'dotnet project convert' output directory prompt Updated the prompt message to clarify: - That pressing Enter will use the default directory shown - That the output directory must not already exist Old prompt: "Specify the output directory (hello):" New prompt: "Specify the output directory (press Enter for default: 'hello', directory must not exist):" This addresses user confusion when converting file-based apps to project-based apps. Fixes dotnet/sdk issue about CLI output directory clarity. Co-authored-by: jjonescz <3669664+jjonescz@users.noreply.github.com> --- src/Cli/dotnet/Commands/CliCommandStrings.resx | 2 +- src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf | 4 ++-- src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf | 4 ++-- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/Cli/dotnet/Commands/CliCommandStrings.resx b/src/Cli/dotnet/Commands/CliCommandStrings.resx index 9edbd8cb434b..f5f06eba8be1 100644 --- a/src/Cli/dotnet/Commands/CliCommandStrings.resx +++ b/src/Cli/dotnet/Commands/CliCommandStrings.resx @@ -1557,7 +1557,7 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man Convert a file-based program to a project-based program. - Specify the output directory ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf index 74f9655c6a71..58628d0735b7 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf @@ -2461,8 +2461,8 @@ Nástroj {1} (verze {2}) se úspěšně nainstaloval. Do souboru manifestu {3} s - Specify the output directory ({0}): - Zadejte výstupní adresář ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Zadejte výstupní adresář ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf index a809278b1534..b5661bf07d10 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf @@ -2461,8 +2461,8 @@ Das Tool "{1}" (Version {2}) wurde erfolgreich installiert. Der Eintrag wird der - Specify the output directory ({0}): - Ausgabeverzeichnis ({0}) angeben: + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Ausgabeverzeichnis ({0}) angeben: {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf index 792aa0a8a117..a5e3c8311100 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf @@ -2461,8 +2461,8 @@ La herramienta "{1}" (versión "{2}") se instaló correctamente. Se ha agregado - Specify the output directory ({0}): - Especifique el directorio de salida ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Especifique el directorio de salida ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf index f63c0cd0fe2c..c3691e4e9e3c 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf @@ -2461,8 +2461,8 @@ L'outil '{1}' (version '{2}') a été correctement installé. L'entrée est ajou - Specify the output directory ({0}): - Spécifiez le répertoire de sortie ({0}) : + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Spécifiez le répertoire de sortie ({0}) : {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf index 5266680cd426..a3aca70083ba 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf @@ -2461,8 +2461,8 @@ Lo strumento '{1}' versione '{2}' è stato installato. La voce è stata aggiunta - Specify the output directory ({0}): - Specifica la directory di output ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Specifica la directory di output ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf index 4792f3300c2f..ee517cdcb381 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - 出力ディレクトリ ({0}) を指定します: + Specify the output directory (press Enter for default: '{0}', directory must not exist): + 出力ディレクトリ ({0}) を指定します: {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf index a64e9bda557c..ffa259179221 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - 출력 디렉터리 지정({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + 출력 디렉터리 지정({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf index f00071279f4f..3f24b598a0c6 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf @@ -2461,8 +2461,8 @@ Narzędzie „{1}” (wersja „{2}”) zostało pomyślnie zainstalowane. Wpis - Specify the output directory ({0}): - Określ katalog wyjściowy ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Określ katalog wyjściowy ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf index 1df2278364f0..8fa7259d51bf 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf @@ -2461,8 +2461,8 @@ A ferramenta '{1}' (versão '{2}') foi instalada com êxito. A entrada foi adici - Specify the output directory ({0}): - Especificar o diretório de saída ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Especificar o diretório de saída ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf index ac72cd0ab5a1..131644457911 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - Укажите выходной каталог ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Укажите выходной каталог ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf index 43cc59b2d709..640b0b26063c 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - Çıkış dizinini belirtin ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + Çıkış dizinini belirtin ({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf index 917ddc8a0736..7b78064774a8 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - 指定输出目录({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + 指定输出目录({0}): {0} is the default value diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf index 95c9e8011346..ef55e3e5e03f 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf @@ -2461,8 +2461,8 @@ Tool '{1}' (version '{2}') was successfully installed. Entry is added to the man - Specify the output directory ({0}): - 指定輸出目錄 ({0}): + Specify the output directory (press Enter for default: '{0}', directory must not exist): + 指定輸出目錄 ({0}): {0} is the default value