From 63033e05c61b1cbfe2a7f3c5f58c366652fb7b2a Mon Sep 17 00:00:00 2001 From: Ashish Kumar Singh Date: Mon, 17 Jan 2022 11:25:15 +0530 Subject: [PATCH] Update .NET 7 templates --- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- .../.template.config/template.json | 42 ++++++++++--------- 8 files changed, 184 insertions(+), 152 deletions(-) diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-CSharp/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-CSharp/.template.config/template.json index 25ba721bf16..49c4f00bc42 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-CSharp/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-CSharp/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-VisualBasic/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-VisualBasic/.template.config/template.json index 50870855a97..3586a53d693 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-VisualBasic/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfApplication-VisualBasic/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-CSharp/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-CSharp/.template.config/template.json index 7a022dd97e6..2da23d367f5 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-CSharp/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-CSharp/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-VisualBasic/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-VisualBasic/.template.config/template.json index f8f55e075c6..b2b948b1141 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-VisualBasic/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfClassLibrary-VisualBasic/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-CSharp/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-CSharp/.template.config/template.json index a5a399def5b..dc99028b345 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-CSharp/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-CSharp/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-VisualBasic/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-VisualBasic/.template.config/template.json index 41c6cd5a6e0..87493894219 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-VisualBasic/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfCustomControlLibrary-VisualBasic/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-CSharp/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-CSharp/.template.config/template.json index 4391c367c0b..0efdaab2314 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-CSharp/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-CSharp/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed", diff --git a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-VisualBasic/.template.config/template.json b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-VisualBasic/.template.config/template.json index 111064318c8..6149357bed4 100644 --- a/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-VisualBasic/.template.config/template.json +++ b/packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/content/WpfUserControlLibrary-VisualBasic/.template.config/template.json @@ -27,26 +27,30 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "choices": [ - { - "choice": "netcoreapp3.0", - "description": "Target netcoreapp3.0" - }, - { - "choice": "netcoreapp3.1", - "description": "Target netcoreapp3.1" - }, - { - "choice": "net5.0", - "description": "Target net5.0" - }, - { - "choice": "net6.0", - "description": "Target net6.0" - } - ], + "choices": [ + { + "choice": "netcoreapp3.0", + "description": "Target netcoreapp3.0" + }, + { + "choice": "netcoreapp3.1", + "description": "Target netcoreapp3.1" + }, + { + "choice": "net5.0", + "description": "Target net5.0" + }, + { + "choice": "net6.0", + "description": "Target net6.0" + }, + { + "choice": "net7.0", + "description": "Target net7.0" + } + ], "replaces": "FrameworkParameter", - "defaultValue": "net6.0" + "defaultValue": "net7.0" }, "UseWindowsDesktopSdk": { "type": "computed",