From 26aa6e838ffb4c14ab1870804fc8520da4726b03 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Wed, 25 Jul 2018 12:38:03 -0700 Subject: [PATCH] Auto-remove the AspNetCorePackageVersion attribute from templates --- .../BlazorHosted-CSharp/.template.config.src/template.json | 7 +++++++ .../.template.config.src/template.json | 7 +++++++ .../.template.config.src/template.json | 7 +++++++ .../.template.config.src/template.json | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json index b42a1b53d3..7fb5a0aad5 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json @@ -95,6 +95,13 @@ "replaces": "$(TemplateBlazorPackageVersion)", "defaultValue": "${TemplateBlazorVersion}" }, + "AspNetCorePackageVersionSymbol": { + "type": "parameter", + "datatype": "string", + "description": "Intended for internal use only.", + "replaces": " Version=\"$(AspNetCorePackageVersion)\"", + "defaultValue": "" + }, "skipRestore": { "type": "parameter", "datatype": "bool", diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/.template.config.src/template.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/.template.config.src/template.json index ad7b6acba3..9ee4e3f4bd 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/.template.config.src/template.json +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/.template.config.src/template.json @@ -56,6 +56,13 @@ "replaces": "$(TemplateBlazorPackageVersion)", "defaultValue": "${TemplateBlazorVersion}" }, + "AspNetCorePackageVersionSymbol": { + "type": "parameter", + "datatype": "string", + "description": "Intended for internal use only.", + "replaces": " Version=\"$(AspNetCorePackageVersion)\"", + "defaultValue": "" + }, "skipRestore": { "type": "parameter", "datatype": "bool", diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/.template.config.src/template.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/.template.config.src/template.json index 72a9e92235..9fd3d4c95a 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/.template.config.src/template.json +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/.template.config.src/template.json @@ -87,6 +87,13 @@ "replaces": "$(TemplateBlazorPackageVersion)", "defaultValue": "${TemplateBlazorVersion}" }, + "AspNetCorePackageVersionSymbol": { + "type": "parameter", + "datatype": "string", + "description": "Intended for internal use only.", + "replaces": " Version=\"$(AspNetCorePackageVersion)\"", + "defaultValue": "" + }, "skipRestore": { "type": "parameter", "datatype": "bool", diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/.template.config.src/template.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/.template.config.src/template.json index 9cecdcef83..bf588a9187 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/.template.config.src/template.json +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/.template.config.src/template.json @@ -56,6 +56,13 @@ "replaces": "$(TemplateBlazorPackageVersion)", "defaultValue": "${TemplateBlazorVersion}" }, + "AspNetCorePackageVersionSymbol": { + "type": "parameter", + "datatype": "string", + "description": "Intended for internal use only.", + "replaces": " Version=\"$(AspNetCorePackageVersion)\"", + "defaultValue": "" + }, "skipRestore": { "type": "parameter", "datatype": "bool",