diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/dotnetcli.host.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/dotnetcli.host.json index 94f4ee10148d..e50513e1b6fa 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/dotnetcli.host.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/dotnetcli.host.json @@ -1,3 +1,8 @@ { - "$schema": "http://json.schemastore.org/dotnetcli.host" + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Format": { + "longName": "format" + } + } } diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.cs.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.cs.json index 01c0027f96ab..c4378d97baab 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.cs.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.cs.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Soubor řešení", - "description": "Vytvořit prázdné řešení neobsahující projekty" + "description": "Vytvořit prázdné řešení neobsahující projekty", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.de.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.de.json index 92e9c34c9c6a..b2ed623eb8dd 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.de.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.de.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Projektmappendatei", - "description": "Erstellt eine leere Projektmappe, die keine Projekte enthält" + "description": "Erstellt eine leere Projektmappe, die keine Projekte enthält", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.en.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.en.json index 7f7be3bc41c4..e82e8b9b9a98 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.en.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.en.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Solution File", - "description": "Create an empty solution containing no projects" + "description": "Create an empty solution containing no projects", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.es.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.es.json index 697406a90c65..57a0180e3285 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.es.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.es.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Archivo de la solución", - "description": "Crea una solución vacía sin proyectos." + "description": "Crea una solución vacía sin proyectos.", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.fr.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.fr.json index 47843051c7f5..ee181d6e7bab 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.fr.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.fr.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Fichier solution", - "description": "Créer une solution vide ne contenant aucun projet" + "description": "Créer une solution vide ne contenant aucun projet", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.it.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.it.json index fcfe285115a4..f1f62099a960 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.it.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.it.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "File di soluzione", - "description": "Crea una soluzione vuota che non contiene alcun progetto" + "description": "Crea una soluzione vuota che non contiene alcun progetto", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ja.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ja.json index 9abc257b709b..448a38aacd3a 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ja.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ja.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "ソリューション ファイル", - "description": "プロジェクトを含まない空のソリューションを作成します。" + "description": "プロジェクトを含まない空のソリューションを作成します。", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ko.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ko.json index 015bf0109633..642ccd721419 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ko.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ko.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "솔루션 파일", - "description": "프로젝트 없는 빈 솔루션 만들기" + "description": "프로젝트 없는 빈 솔루션 만들기", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pl.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pl.json index 4b3e01084bda..0ad22ad7072d 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pl.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pl.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Plik rozwiązania", - "description": "Utwórz puste rozwiązanie niezawierające żadnych projektów" + "description": "Utwórz puste rozwiązanie niezawierające żadnych projektów", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pt-BR.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pt-BR.json index 0212fcf5cba3..356625dd4b0e 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pt-BR.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.pt-BR.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Arquivo de Solução", - "description": "Uma solução vazia sem projetos" + "description": "Uma solução vazia sem projetos", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ru.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ru.json index 585b10da0e01..c666693b1eff 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ru.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.ru.json @@ -1,5 +1,11 @@ { "author": "Майкрософт", "name": "Файл решения", - "description": "Создание пустого решения, не содержащего проектов" + "description": "Создание пустого решения, не содержащего проектов", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.tr.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.tr.json index d95ad06165a4..0f75a7f3f91a 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.tr.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.tr.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "Çözüm Dosyası", - "description": "Hiçbir proje içermeyen boş bir çözüm oluştur" + "description": "Hiçbir proje içermeyen boş bir çözüm oluştur", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hans.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hans.json index 6b78e6364333..e79d6bbcf28d 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hans.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hans.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "解决方案文件", - "description": "创建不包含项目的空解决方案" + "description": "创建不包含项目的空解决方案", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hant.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hant.json index 8849a7bcc65e..55b3fd5a39e7 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hant.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/localize/templatestrings.zh-Hant.json @@ -1,5 +1,11 @@ { "author": "Microsoft", "name": "方案檔", - "description": "建立不含專案的空白方案" + "description": "建立不含專案的空白方案", + "symbols/Format/description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "symbols/Format/displayName": "Solution file format", + "symbols/Format/choices/sln/description": "Traditional solution file", + "symbols/Format/choices/sln/displayName": ".sln format", + "symbols/Format/choices/slnx/description": "XML-based solution file", + "symbols/Format/choices/slnx/displayName": ".slnx format" } \ No newline at end of file diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/template.json b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/template.json index 7faebdf5252e..0e510a367b12 100644 --- a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/template.json +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/.template.config/template.json @@ -15,9 +15,39 @@ "solution" ], "sourceName": "Solution1", - "primaryOutputs": [ + "symbols": { + "Format": { + "type": "parameter", + "displayName": "Solution file format", + "description": "Choose the format for the solution file: traditional (.sln) or XML-based (.slnx).", + "defaultValue": "sln", + "datatype": "choice", + "choices": [ + { + "choice": "sln", + "displayName": ".sln format", + "description": "Traditional solution file" + }, + { + "choice": "slnx", + "displayName": ".slnx format", + "description": "XML-based solution file" + } + ] + } + }, + "sources": [ { - "path": "Solution1.sln" + "modifiers": [ + { + "condition": "(Format == \"slnx\")", + "exclude": [ "Solution1.sln" ] + }, + { + "condition": "(Format == \"sln\")", + "exclude": [ "Solution1.slnx" ] + } + ] } ], "defaultName": "Solution1" diff --git a/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/Solution1.slnx b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/Solution1.slnx new file mode 100644 index 000000000000..ba788ff0d17d --- /dev/null +++ b/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Solution/Solution1.slnx @@ -0,0 +1,2 @@ + +