From fa8fcc9a628153f17c5db2d3275179b07548bf77 Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Tue, 13 Mar 2018 19:12:15 -0700 Subject: [PATCH] Made wwwroot 'copyOnly' to avoid modifications in it's files --- .../RazorPagesWeb-CSharp/.template.config/template.json | 3 +++ .../content/StarterWeb-CSharp/.template.config/template.json | 3 +++ .../content/StarterWeb-FSharp/.template.config/template.json | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json index e0c54110b9..e266763d97 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json @@ -26,6 +26,9 @@ ], "sources": [ { + "copyOnly": [ + "wwwroot/**" + ], "modifiers": [ { "condition": "(TargetFrameworkOverride == '')", diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json index 6f2d427065..395e264253 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json @@ -25,6 +25,9 @@ ], "sources": [ { + "copyOnly": [ + "wwwroot/**" + ], "modifiers": [ { "condition": "(TargetFrameworkOverride == '')", diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json index 34b366c3c2..4c5f24a9a5 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json @@ -21,6 +21,9 @@ "preferNameDirectory": true, "sources": [ { + "copyOnly": [ + "wwwroot/**" + ], "modifiers": [ { "condition": "(TargetFrameworkOverride == '')",