diff --git a/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/icon.png b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/icon.png new file mode 100644 index 0000000000..6cae8b54f8 Binary files /dev/null and b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/icon.png differ diff --git a/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/ide.host.json b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/ide.host.json new file mode 100644 index 0000000000..2d4b488c9b --- /dev/null +++ b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/ide.host.json @@ -0,0 +1,19 @@ +{ + "icon": "icon.png", + "requiredComponents": [ + { + "id": "Microsoft.VisualStudio.Workload.ManagedDesktop", + "hostId": "vs", + "componentType": "setupComponent" + } + ], + "symbolInfo": [ + { + "id": "dotnetVersion", + "name": { + "text": "Framework" + }, + "isVisible": "true" + } + ] +} diff --git a/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/template.json b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/template.json index c8b7ccb38e..d2091eac15 100644 --- a/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/template.json +++ b/dev/VSIX/DotnetNewTemplates/templates/class-library/.template.config/template.json @@ -64,7 +64,8 @@ { "choice": "net8.0", "description": "Target .NET 8" }, { "choice": "net9.0", "description": "Target .NET 9" }, { "choice": "net10.0", "description": "Target .NET 10" } - ] + ], + "defaultValue": "net10.0" }, "resolvedDotnetVersion": { "type": "generated", diff --git a/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/icon.png b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/icon.png new file mode 100644 index 0000000000..63f56eb76f Binary files /dev/null and b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/icon.png differ diff --git a/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/ide.host.json b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/ide.host.json new file mode 100644 index 0000000000..cf34697102 --- /dev/null +++ b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/ide.host.json @@ -0,0 +1,47 @@ +{ + "icon": "icon.png", + "requiredComponents": [ + { + "id": "Microsoft.VisualStudio.Workload.ManagedDesktop", + "hostId": "vs", + "componentType": "setupComponent" + } + ], + "symbolInfo": [ + { + "id": "dotnetVersion", + "name": { + "text": "Framework" + }, + "isVisible": "true" + }, + { + "id": "targetPlatformMinVersion", + "name": { + "text": "Target Platform Minimum Version" + }, + "isVisible": "true" + }, + { + "id": "publisherDn", + "name": { + "text": "Publisher Distinguished Name" + }, + "isVisible": "true" + }, + { + "id": "publisherDisplay", + "name": { + "text": "Publisher Display Name" + }, + "isVisible": "true" + }, + { + "id": "UseLatestWindowsAppSDK", + "name": { + "text": "Use latest Windows App SDK version" + }, + "isVisible": "true" + } + ] +} diff --git a/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/template.json b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/template.json index e5bc8f4ddd..690db31c4f 100644 --- a/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/template.json +++ b/dev/VSIX/DotnetNewTemplates/templates/navigation-app/.template.config/template.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/template", "author": "Microsoft", - "classifications": ["Windows", "WinUI", "Desktop", "Navigation"], + "classifications": ["Windows", "WinUI", "Desktop", "XAML"], "tags": { "language": "C#", "type": "project" @@ -54,7 +54,8 @@ { "choice": "net8.0", "description": "Target .NET 8" }, { "choice": "net9.0", "description": "Target .NET 9" }, { "choice": "net10.0", "description": "Target .NET 10" } - ] + ], + "defaultValue": "net10.0" }, "resolvedDotnetVersion": { "type": "generated", @@ -65,11 +66,42 @@ }, "replaces": "$DotNetVersion$" }, - "targetPlatformMinVersion":{ + "targetPlatformMinVersion": { "type": "parameter", - "datatype": "text", + "datatype": "choice", "replaces": "$targetplatformminversion$", - "defaultValue": "10.0.17763.0" + "defaultValue": "10.0.26100.0", + "choices": [ + { + "choice": "10.0.17763.0", + "description": "10.0.17763.0" + }, + { + "choice": "10.0.19041.0", + "description": "10.0.19041.0" + }, + { + "choice": "10.0.22000.0", + "description": "10.0.22000.0" + }, + { + "choice": "10.0.22621.0", + "description": "10.0.22621.0" + }, + { + "choice": "10.0.26100.0", + "description": "10.0.26100.0" + }, + { + "choice": "10.0.26200.0", + "description": "10.0.26200.0" + }, + { + "choice": "10.0.28000.0", + "description": "10.0.28000.0" + } + ], + "description": "Minimum supported Windows version." }, "publisherDn": { "type": "parameter", diff --git a/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/icon.png b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/icon.png new file mode 100644 index 0000000000..1e450cb9b3 Binary files /dev/null and b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/icon.png differ diff --git a/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/ide.host.json b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/ide.host.json new file mode 100644 index 0000000000..cf34697102 --- /dev/null +++ b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/ide.host.json @@ -0,0 +1,47 @@ +{ + "icon": "icon.png", + "requiredComponents": [ + { + "id": "Microsoft.VisualStudio.Workload.ManagedDesktop", + "hostId": "vs", + "componentType": "setupComponent" + } + ], + "symbolInfo": [ + { + "id": "dotnetVersion", + "name": { + "text": "Framework" + }, + "isVisible": "true" + }, + { + "id": "targetPlatformMinVersion", + "name": { + "text": "Target Platform Minimum Version" + }, + "isVisible": "true" + }, + { + "id": "publisherDn", + "name": { + "text": "Publisher Distinguished Name" + }, + "isVisible": "true" + }, + { + "id": "publisherDisplay", + "name": { + "text": "Publisher Display Name" + }, + "isVisible": "true" + }, + { + "id": "UseLatestWindowsAppSDK", + "name": { + "text": "Use latest Windows App SDK version" + }, + "isVisible": "true" + } + ] +} diff --git a/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/template.json b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/template.json index 7db5ef1944..3ab9824db5 100644 --- a/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/template.json +++ b/dev/VSIX/DotnetNewTemplates/templates/single-project/.template.config/template.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/template", "author": "Microsoft", - "classifications": ["Windows", "WinUI", "Desktop", "Packaged"], + "classifications": [ "Windows", "WinUI", "Desktop", "XAML" ], "tags": { "language": "C#", "type": "project" @@ -64,7 +64,8 @@ { "choice": "net8.0", "description": "Target .NET 8" }, { "choice": "net9.0", "description": "Target .NET 9" }, { "choice": "net10.0", "description": "Target .NET 10" } - ] + ], + "defaultValue": "net10.0" }, "resolvedDotnetVersion": { "type": "generated", @@ -75,11 +76,41 @@ }, "replaces": "$DotNetVersion$" }, - "targetPlatformMinVersion":{ + "targetPlatformMinVersion": { "type": "parameter", - "datatype": "text", + "datatype": "choice", "replaces": "$targetplatformminversion$", - "defaultValue": "10.0.17763.0", + "defaultValue": "10.0.26100.0", + "choices": [ + { + "choice": "10.0.17763.0", + "description": "10.0.17763.0" + }, + { + "choice": "10.0.19041.0", + "description": "10.0.19041.0" + }, + { + "choice": "10.0.22000.0", + "description": "10.0.22000.0" + }, + { + "choice": "10.0.22621.0", + "description": "10.0.22621.0" + }, + { + "choice": "10.0.26100.0", + "description": "10.0.26100.0" + }, + { + "choice": "10.0.26200.0", + "description": "10.0.26200.0" + }, + { + "choice": "10.0.28000.0", + "description": "10.0.28000.0" + } + ], "description": "Minimum supported Windows version." }, "publisherDn": { diff --git a/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/icon.png b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/icon.png new file mode 100644 index 0000000000..6393c0a2ac Binary files /dev/null and b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/icon.png differ diff --git a/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/ide.host.json b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/ide.host.json new file mode 100644 index 0000000000..cf34697102 --- /dev/null +++ b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/ide.host.json @@ -0,0 +1,47 @@ +{ + "icon": "icon.png", + "requiredComponents": [ + { + "id": "Microsoft.VisualStudio.Workload.ManagedDesktop", + "hostId": "vs", + "componentType": "setupComponent" + } + ], + "symbolInfo": [ + { + "id": "dotnetVersion", + "name": { + "text": "Framework" + }, + "isVisible": "true" + }, + { + "id": "targetPlatformMinVersion", + "name": { + "text": "Target Platform Minimum Version" + }, + "isVisible": "true" + }, + { + "id": "publisherDn", + "name": { + "text": "Publisher Distinguished Name" + }, + "isVisible": "true" + }, + { + "id": "publisherDisplay", + "name": { + "text": "Publisher Display Name" + }, + "isVisible": "true" + }, + { + "id": "UseLatestWindowsAppSDK", + "name": { + "text": "Use latest Windows App SDK version" + }, + "isVisible": "true" + } + ] +} diff --git a/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/template.json b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/template.json index 878a6fa27c..f1a21201d1 100644 --- a/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/template.json +++ b/dev/VSIX/DotnetNewTemplates/templates/unit-test/.template.config/template.json @@ -64,7 +64,8 @@ { "choice": "net8.0", "description": "Target .NET 8 (LTS)" }, { "choice": "net9.0", "description": "Target .NET 9" }, { "choice": "net10.0", "description": "Target .NET 10" } - ] + ], + "defaultValue": "net10.0" }, "resolvedDotnetVersion": { "type": "generated", @@ -75,11 +76,41 @@ }, "replaces": "$DotNetVersion$" }, - "targetPlatformMinVersion":{ + "targetPlatformMinVersion": { "type": "parameter", - "datatype": "text", + "datatype": "choice", "replaces": "$targetplatformminversion$", - "defaultValue": "10.0.17763.0", + "defaultValue": "10.0.26100.0", + "choices": [ + { + "choice": "10.0.17763.0", + "description": "10.0.17763.0" + }, + { + "choice": "10.0.19041.0", + "description": "10.0.19041.0" + }, + { + "choice": "10.0.22000.0", + "description": "10.0.22000.0" + }, + { + "choice": "10.0.22621.0", + "description": "10.0.22621.0" + }, + { + "choice": "10.0.26100.0", + "description": "10.0.26100.0" + }, + { + "choice": "10.0.26200.0", + "description": "10.0.26200.0" + }, + { + "choice": "10.0.28000.0", + "description": "10.0.28000.0" + } + ], "description": "Minimum supported Windows version." }, "publisherDn": {