diff --git a/src/Cli/dotnet/LaunchSettings/ILaunchSettingsProvider.cs b/src/Cli/dotnet/LaunchSettings/ILaunchSettingsProvider.cs
new file mode 100644
index 000000000000..ab579325e3d8
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/ILaunchSettingsProvider.cs
@@ -0,0 +1,14 @@
+// Copyright (c) .NET Foundation and contributors. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+using System.Text.Json;
+using Microsoft.DotNet.Cli.Utils;
+
+namespace Microsoft.DotNet.LaunchSettings
+{
+ internal interface ILaunchSettingsProvider
+ {
+ LaunchSettingsApplyResult TryGetLaunchSettings(JsonElement model);
+ }
+
+}
diff --git a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsApplyResult.cs b/src/Cli/dotnet/LaunchSettings/LaunchSettingsApplyResult.cs
similarity index 92%
rename from src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsApplyResult.cs
rename to src/Cli/dotnet/LaunchSettings/LaunchSettingsApplyResult.cs
index 983faa214605..2223072a6240 100644
--- a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsApplyResult.cs
+++ b/src/Cli/dotnet/LaunchSettings/LaunchSettingsApplyResult.cs
@@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-namespace Microsoft.DotNet.Tools.Run.LaunchSettings
+namespace Microsoft.DotNet.LaunchSettings
{
public class LaunchSettingsApplyResult
{
diff --git a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsManager.cs b/src/Cli/dotnet/LaunchSettings/LaunchSettingsManager.cs
similarity index 99%
rename from src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsManager.cs
rename to src/Cli/dotnet/LaunchSettings/LaunchSettingsManager.cs
index 1b7bd802c76a..b4d6cd26b311 100644
--- a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/LaunchSettingsManager.cs
+++ b/src/Cli/dotnet/LaunchSettings/LaunchSettingsManager.cs
@@ -7,7 +7,7 @@
using System.Text.Json;
using Microsoft.DotNet.Cli.Utils;
-namespace Microsoft.DotNet.Tools.Run.LaunchSettings
+namespace Microsoft.DotNet.LaunchSettings
{
internal class LaunchSettingsManager
{
diff --git a/src/Cli/dotnet/LaunchSettings/LocalizableStrings.resx b/src/Cli/dotnet/LaunchSettings/LocalizableStrings.resx
new file mode 100644
index 000000000000..223a27e7bfac
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/LocalizableStrings.resx
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+
+
+ The launch profile type '{0}' is not supported.
+
+
+ A usable launch profile could not be located.
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+
+
+ Could not convert the value of property '{0}' to a boolean.
+
+
+ Could not convert the value of property '{0}' to a string.
+
+
+ The property '{0}' must be an object if it is specified.
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsModel.cs b/src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsModel.cs
similarity index 54%
rename from src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsModel.cs
rename to src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsModel.cs
index df50d702ba90..ce2206c9774d 100644
--- a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsModel.cs
+++ b/src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsModel.cs
@@ -4,20 +4,35 @@
using System;
using System.Collections.Generic;
-namespace Microsoft.DotNet.Tools.Run.LaunchSettings
+namespace Microsoft.DotNet.LaunchSettings
{
public class ProjectLaunchSettingsModel
{
+ ///
+ /// The arguments to pass to the target being run.
+ ///
public string CommandLineArgs { get; set; }
+ ///
+ /// Whether or not to launched a browser.
+ ///
public bool LaunchBrowser { get; set; }
+ ///
+ /// The relative URL to launch in the browser.
+ ///
public string LaunchUrl { get; set; }
+ ///
+ /// A semi-colon delimited list of URL(s) to configure for the web server.
+ ///
public string ApplicationUrl { get; set; }
public string DotNetRunMessages { get; set; }
+ ///
+ /// Environment variables to set.
+ ///
public Dictionary EnvironmentVariables { get; } = new Dictionary(StringComparer.Ordinal);
}
}
diff --git a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsProvider.cs b/src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsProvider.cs
similarity index 99%
rename from src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsProvider.cs
rename to src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsProvider.cs
index e93e01c17be2..0f4318e47414 100644
--- a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ProjectLaunchSettingsProvider.cs
+++ b/src/Cli/dotnet/LaunchSettings/ProjectLaunchSettingsProvider.cs
@@ -4,7 +4,7 @@
using System;
using System.Text.Json;
-namespace Microsoft.DotNet.Tools.Run.LaunchSettings
+namespace Microsoft.DotNet.LaunchSettings
{
internal class ProjectLaunchSettingsProvider : ILaunchSettingsProvider
{
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.cs.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.cs.xlf
new file mode 100644
index 000000000000..c44b5eb51d0c
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.cs.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Hodnotu vlastnosti {0} nejde převést na logickou hodnotu.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Hodnotu vlastnosti {0} nejde převést na řetězec.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Profil se zadaným názvem se nenašel nebo nepředstavuje platný objekt JSON.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Typ profilu spuštění {0} se nepodporuje.
+
+
+
+ A usable launch profile could not be located.
+ Nenašel se použitelný profil spuštění.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ Vlastnost profiles v dokumentu nastavení spuštění není objektem JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Při načítání launchSettings.json došlo k chybě.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Vlastnost {0} musí být objektem, pokud je zadána.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.de.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.de.xlf
new file mode 100644
index 000000000000..66b20b346d75
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.de.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Der Wert der Eigenschaft "{0}" konnte nicht in einen booleschen Wert konvertiert werden.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Der Wert der Eigenschaft "{0}" konnte nicht in eine Zeichenfolge konvertiert werden.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Ein Profil mit dem angegebenen Namen wurde nicht gefunden oder ist kein gültiges JSON-Objekt.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Der Startprofiltyp "{0}" wird nicht unterstützt.
+
+
+
+ A usable launch profile could not be located.
+ Es wurde kein verwendbares Startprofil gefunden.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ Die Eigenschaft "Profile" des Starteigenschaftendokuments ist kein JSON-Objekt.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Beim Lesen von "launchSettings.json" ist ein Fehler aufgetreten.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Die Eigenschaft "{0}" muss ein Objekt sein, sofern angegeben.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.es.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.es.xlf
new file mode 100644
index 000000000000..53e88d3cf45f
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.es.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ No se pudo convertir el valor de la propiedad "{0}" en un booleano.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ No se pudo convertir el valor de la propiedad "{0}" en una cadena.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ No se ha encontrado ningún perfil con el nombre especificado o el que se ha encontrado no es un objeto JSON válido.
+
+
+
+ The launch profile type '{0}' is not supported.
+ No se admite el tipo de perfil de inicio "{0}".
+
+
+
+ A usable launch profile could not be located.
+ No se ha podido encontrar un perfil de inicio que se pueda usar.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ La propiedad "profiles" del documento de configuración de inicio no es un objeto JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Se produjo un error al leer launchSettings.json.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ La propiedad "{0}" debe ser un objeto si se especifica.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.fr.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.fr.xlf
new file mode 100644
index 000000000000..c2d2c2fd91b2
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.fr.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Impossible de convertir la valeur de la propriété '{0}' en valeur booléenne.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Impossible de convertir la valeur de la propriété '{0}' en chaîne.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Un profil avec le nom spécifié est introuvable ou n'est pas un objet JSON valide.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Le type de profil de lancement '{0}' n'est pas pris en charge.
+
+
+
+ A usable launch profile could not be located.
+ Impossible de localiser un profil de lancement utilisable.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ La propriété 'profiles' du document de paramètres de lancement n'est pas un objet JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Une erreur s'est produite durant la lecture de launchSettings.json.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ La propriété '{0}' doit être un objet, si elle est spécifiée.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.it.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.it.xlf
new file mode 100644
index 000000000000..a715c039f2ec
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.it.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Non è stato possibile convertire il valore della proprietà '{0}' in un valore booleano.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Non è stato possibile convertire il valore della proprietà '{0}' in una stringa.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Non è stato possibile trovare alcun profilo con il nome specificato oppure il profilo non è un oggetto JSON valido.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Il tipo '{0}' del profilo di avvio non è supportato.
+
+
+
+ A usable launch profile could not be located.
+ Non è stato trovato alcun profilo di avvio utilizzabile.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ La proprietà 'profiles' del documento delle impostazioni di avvio non è un oggetto JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ È stato rilevato un errore durante la lettura di launchSettings.json.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Se è specificata, la proprietà '{0}' deve essere un oggetto.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ja.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ja.xlf
new file mode 100644
index 000000000000..40f0146d865e
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ja.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ プロパティ ' {0} ' の値をブール値に変換できませんでした。
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ プロパティ '{0}' の値を文字列に変換できませんでした。
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ 指定された名前のプロファイルは見つからないか、有効な JSON オブジェクトではありません。
+
+
+
+ The launch profile type '{0}' is not supported.
+ 起動プロファイルの種類 '{0}' はサポートされていません。
+
+
+
+ A usable launch profile could not be located.
+ 使用可能な起動プロファイルが見つかりませんでした。
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ 起動設定のドキュメントの 'profiles' プロパティが JSON オブジェクトではありません。
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ launchSettings.json を読み取るときにエラーが発生しました。
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ プロパティ ' {0} ' は、指定されている場合はオブジェクトである必要があります。
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ko.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ko.xlf
new file mode 100644
index 000000000000..690b75ab82de
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ko.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ '{0}' 속성 값을 부울로 변환할 수 없습니다.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ '{0}' 속성 값을 문자열로 변환할 수 없습니다.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ 지정된 이름을 가진 프로필을 찾을 수 없거나 유효한 JSON 개체가 아닙니다.
+
+
+
+ The launch profile type '{0}' is not supported.
+ 시작 프로필 형식 '{0}'은(는) 지원되지 않습니다.
+
+
+
+ A usable launch profile could not be located.
+ 사용할 수 있는 시작 프로필을 찾을 수 없습니다.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ 시작 설정 문서의 '프로필' 속성이 JSON 개체가 아닙니다.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ launchSettings.json을 읽는 동안 오류가 발생했습니다.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ '{0}' 속성이 지정된 경우 개체여야 합니다.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pl.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pl.xlf
new file mode 100644
index 000000000000..fc1f0d9145cb
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pl.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Nie można przekonwertować wartości właściwości „{0}” na wartość logiczną.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Nie można przekonwertować wartości właściwości „{0}” na ciąg.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Nie można znaleźć profilu o określonej nazwie lub nie jest to prawidłowy obiekt JSON.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Typ profilu uruchamiania „{0}” nie jest obsługiwany.
+
+
+
+ A usable launch profile could not be located.
+ Nie można odnaleźć nadającego się do użytku profilu uruchamiania.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ Właściwość „profiles” dokumentu ustawień uruchamiania nie jest obiektem JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Wystąpił błąd podczas odczytywania pliku launchSettings.json.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Właściwość „{0}” musi być obiektem, jeśli jest określona.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pt-BR.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pt-BR.xlf
new file mode 100644
index 000000000000..bd26d825c400
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.pt-BR.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Não foi possível converter o valor da propriedade '{0}' em um booliano.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Não foi possível converter o valor da propriedade '{0}' em uma cadeia de caracteres.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Um perfil com o nome especificado não pôde ser encontrado ou não é um objeto JSON válido.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Não há suporte para o tipo de perfil de inicialização '{0}'.
+
+
+
+ A usable launch profile could not be located.
+ Um perfil de inicialização utilizável não pôde ser localizado.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ A propriedade 'perfis' do documento de configurações de inicialização não é um objeto JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ Um erro foi encontrado durante a leitura do launchSettings.json.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Se especificado, a propriedade '{0}' deve ser um objeto.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ru.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ru.xlf
new file mode 100644
index 000000000000..7f06fee10efc
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.ru.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ Не удалось преобразовать значение свойства "{0}" в логическое значение.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ Не удалось преобразовать значение свойства "{0}" в строку.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Не удается найти профиль с указанным именем, или он не является допустимым объектом JSON.
+
+
+
+ The launch profile type '{0}' is not supported.
+ Тип профиля запуска "{0}" не поддерживается.
+
+
+
+ A usable launch profile could not be located.
+ Не удалось найти подходящий для использования профиль запуска.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ Свойство "profiles" документа параметров запуска не является объектом JSON.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ При чтении launchSettings.json обнаружена ошибка.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ Если свойство "{0}" задано, оно должно быть объектом.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.tr.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.tr.xlf
new file mode 100644
index 000000000000..37aa68c8bbcc
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.tr.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ '{0}' özelliğinin değeri boole değerine dönüştürülemedi.
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ '{0}' özelliğinin değeri dizeye dönüştürülemedi.
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ Belirtilen isme sahip profil bulunamadı veya geçerli bir JSON nesnesi değil.
+
+
+
+ The launch profile type '{0}' is not supported.
+ '{0}' başlatma profili türü desteklenmiyor.
+
+
+
+ A usable launch profile could not be located.
+ Kullanılabilir bir başlatma profili bulunamadı.
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ Başlatma ayarları belgesinin 'profiles' özelliği bir JSON nesnesi değil.
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ launchSettings.json okunurken bir hatayla karşılaşıldı.
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ '{0}' özelliği belirtilmişse bir nesne olmalıdır.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hans.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hans.xlf
new file mode 100644
index 000000000000..b6354830728e
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hans.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ 无法将属性“{0}”的值转换为布尔值。
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ 无法将属性“{0}”的值转换为字符串。
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ 找不到具有指定名称的配置文件或该配置文件不是有效的 JSON 对象。
+
+
+
+ The launch profile type '{0}' is not supported.
+ 不支持启动配置文件类型“{0}”。
+
+
+
+ A usable launch profile could not be located.
+ 找不到可用的启动配置文件。
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ 启动设置文档的“profiles”属性不是 JSON 对象。
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ 读取 launchSettings.json 时发生错误。
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ 如果指定,则属性“{0}”必须是一个对象。
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hant.xlf b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hant.xlf
new file mode 100644
index 000000000000..5138cf96cf38
--- /dev/null
+++ b/src/Cli/dotnet/LaunchSettings/xlf/LocalizableStrings.zh-Hant.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Could not convert the value of property '{0}' to a boolean.
+ 無法將屬性 '{0}' 的值轉換為布林值。
+
+
+
+ Could not convert the value of property '{0}' to a string.
+ 無法將屬性 '{0}' 的值轉換為字串。
+
+
+
+ A profile with the specified name could not be found or is not a valid JSON object.
+ 找不到具有指定名稱的設定檔,或不是有效的 JSON 物件。
+
+
+
+ The launch profile type '{0}' is not supported.
+ 不支援啟動設定檔類型 '{0}'。
+
+
+
+ A usable launch profile could not be located.
+ 找不到可用的啟動設定檔。
+
+
+
+ The 'profiles' property of the launch settings document is not a JSON object.
+ 啟動設定文件的 'profiles' 屬性並非 JSON 物件。
+
+
+
+ An error was encountered when reading launchSettings.json.
+{0}
+ 讀取 launchSettings.json 時發生錯誤。
+{0}
+
+
+
+ The property '{0}' must be an object if it is specified.
+ 如果屬性 '{0}' 受到指定,則其必須為物件。
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ILaunchSettingsProvider.cs b/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ILaunchSettingsProvider.cs
deleted file mode 100644
index 0b0e8bdc108d..000000000000
--- a/src/Cli/dotnet/commands/dotnet-run/LaunchSettings/ILaunchSettingsProvider.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json;
-using Microsoft.DotNet.Cli.Utils;
-
-namespace Microsoft.DotNet.Tools.Run.LaunchSettings
-{
- internal interface ILaunchSettingsProvider
- {
- LaunchSettingsApplyResult TryGetLaunchSettings(JsonElement model);
- }
-
-}
diff --git a/src/Cli/dotnet/commands/dotnet-run/LocalizableStrings.resx b/src/Cli/dotnet/commands/dotnet-run/LocalizableStrings.resx
index 59f9d4b94494..872594354c1c 100644
--- a/src/Cli/dotnet/commands/dotnet-run/LocalizableStrings.resx
+++ b/src/Cli/dotnet/commands/dotnet-run/LocalizableStrings.resx
@@ -185,36 +185,11 @@ The current {1} is '{2}'.
Using launch settings from {0}...
-
- A profile with the specified name could not be found or is not a valid JSON object.
-
-
- The launch profile type '{0}' is not supported.
-
-
- A usable launch profile could not be located.
-
An unexpected exception occurred while processing launch settings:
-{0}
-
-
- The 'profiles' property of the launch settings document is not a JSON object.
-
-
- An error was encountered when reading launchSettings.json.
{0}'{0}' is not a valid project file.
-
- Could not convert the value of property '{0}' to a boolean.
-
-
- Could not convert the value of property '{0}' to a string.
-
-
- The property '{0}' must be an object if it is specified.
-
-
+
\ No newline at end of file
diff --git a/src/Cli/dotnet/commands/dotnet-run/RunCommand.cs b/src/Cli/dotnet/commands/dotnet-run/RunCommand.cs
index 7c54dc4cbfd6..cee921efc48a 100644
--- a/src/Cli/dotnet/commands/dotnet-run/RunCommand.cs
+++ b/src/Cli/dotnet/commands/dotnet-run/RunCommand.cs
@@ -8,7 +8,7 @@
using Microsoft.Build.Execution;
using Microsoft.Build.Exceptions;
using Microsoft.DotNet.Cli.Utils;
-using Microsoft.DotNet.Tools.Run.LaunchSettings;
+using Microsoft.DotNet.LaunchSettings;
using Microsoft.DotNet.CommandFactory;
namespace Microsoft.DotNet.Tools.Run
diff --git a/src/Cli/dotnet/commands/dotnet-run/xlf/LocalizableStrings.cs.xlf b/src/Cli/dotnet/commands/dotnet-run/xlf/LocalizableStrings.cs.xlf
index 4db4cc36cc5b..cf701857e91e 100644
--- a/src/Cli/dotnet/commands/dotnet-run/xlf/LocalizableStrings.cs.xlf
+++ b/src/Cli/dotnet/commands/dotnet-run/xlf/LocalizableStrings.cs.xlf
@@ -22,16 +22,6 @@
Cesta ke spouštěnému souboru projektu (výchozí je aktuální adresář, pokud existuje jenom jeden projekt)
-
- Could not convert the value of property '{0}' to a boolean.
- Hodnotu vlastnosti {0} nejde převést na logickou hodnotu.
-
-
-
- Could not convert the value of property '{0}' to a string.
- Hodnotu vlastnosti {0} nejde převést na řetězec.
-
- Building...Building...
@@ -112,37 +102,10 @@ Aktuální {1} je {2}.
Použití nastavení spuštění z {0}...
-
- A profile with the specified name could not be found or is not a valid JSON object.
- Profil se zadaným názvem se nenašel nebo nepředstavuje platný objekt JSON.
-
-
-
- The launch profile type '{0}' is not supported.
- Typ profilu spuštění {0} se nepodporuje.
-
-
-
- A usable launch profile could not be located.
- Nenašel se použitelný profil spuštění.
-
- An unexpected exception occurred while processing launch settings:
{0}Při zpracování nastavení spuštění došlo k neočekávané výjimce:
-{0}
-
-
-
- The 'profiles' property of the launch settings document is not a JSON object.
- Vlastnost profiles v dokumentu nastavení spuštění není objektem JSON.
-
-
-
- An error was encountered when reading launchSettings.json.
-{0}
- Při načítání launchSettings.json došlo k chybě.
{0}
@@ -166,11 +129,6 @@ Aktuální {1} je {2}.
Cílový modul runtime pro běh
-
- The property '{0}' must be an object if it is specified.
- Vlastnost {0} musí být objektem, pokud je zadána.
-
-