Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dotnet new sln --format slnx #44469

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>