From 12c3cf028c41674dd1eba438227cb7bc46a5ac04 Mon Sep 17 00:00:00 2001 From: Scott Addie Date: Mon, 12 Mar 2018 13:22:07 -0500 Subject: [PATCH] Assign language and template type to 3 C# item templates (#343) Addresses #341 --- .../content/RazorPage/.template.config/template.json | 4 ++++ .../content/ViewImports/.template.config/template.json | 6 +++++- .../content/ViewStart/.template.config/template.json | 6 +++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/content/RazorPage/.template.config/template.json b/src/Microsoft.DotNet.Web.ItemTemplates/content/RazorPage/.template.config/template.json index c88a03a35b..e58b009ae4 100644 --- a/src/Microsoft.DotNet.Web.ItemTemplates/content/RazorPage/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ItemTemplates/content/RazorPage/.template.config/template.json @@ -5,6 +5,10 @@ "name": "Razor Page", "generatorVersions": "[1.0.0.0-*)", "description": "A Razor page with or without a page model", + "tags": { + "language": "C#", + "type": "item" + }, "groupIdentity": "Microsoft.AspNetCore.Mvc.RazorPage", "precedence": "100", "identity": "Microsoft.AspNetCore.Mvc.RazorPage", diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewImports/.template.config/template.json b/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewImports/.template.config/template.json index 4721cf5ca6..1b42ce63b7 100644 --- a/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewImports/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewImports/.template.config/template.json @@ -4,7 +4,11 @@ "classifications": [ "Web", "ASP.NET" ], "name": "MVC ViewImports", "generatorVersions": "[1.0.0.0-*)", - "description": "A MVC View Import Page", + "description": "An MVC View Import Page", + "tags": { + "language": "C#", + "type": "item" + }, "groupIdentity": "Microsoft.AspNetCore.Mvc.ViewImports", "precedence": "100", "identity": "Microsoft.AspNetCore.Mvc.ViewImports", diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewStart/.template.config/template.json b/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewStart/.template.config/template.json index 8ea89b307f..08d4427017 100644 --- a/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewStart/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ItemTemplates/content/ViewStart/.template.config/template.json @@ -4,7 +4,11 @@ "classifications": [ "Web", "ASP.NET" ], "name": "MVC ViewStart", "generatorVersions": "[1.0.0.0-*)", - "description": "A MVC ViewStart Page", + "description": "An MVC ViewStart Page", + "tags": { + "language": "C#", + "type": "item" + }, "groupIdentity": "Microsoft.AspNetCore.Mvc.ViewStart", "precedence": "100", "identity": "Microsoft.AspNetCore.Mvc.ViewStart",