Skip to content

Commit

Permalink
add dotnet new sln --format slnx
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperk81 committed Oct 27, 2024
1 parent 88ef730 commit 6912ee4
Show file tree
Hide file tree
Showing 17 changed files with 138 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host"
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"Format": {
"longName": "format"
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<Solution>
</Solution>

0 comments on commit 6912ee4

Please sign in to comment.