diff --git a/src/dotnet/commands/dotnet-new/CSharp_Web/project.json.template b/src/dotnet/commands/dotnet-new/CSharp_Web/project.json.template index 18abd54fd4..1b66ffc947 100644 --- a/src/dotnet/commands/dotnet-new/CSharp_Web/project.json.template +++ b/src/dotnet/commands/dotnet-new/CSharp_Web/project.json.template @@ -94,7 +94,7 @@ "publishOptions": { "include": [ "wwwroot", - "Views", + "**/*.cshtml", "appsettings.json", "web.config" ]