I have createa a ASP.NET Core 2.0 project in VS 2017. When I publish my project the Views folder are not there but the wwwroot folder is.
Views
wwwroot
T
It might be generating .Views.dll by default. You need to set MvcRazorCompileOnPublishproperty false in your project .csproj file. By default it is true.
.Views.dll
MvcRazorCompileOnPublish
false
.csproj
true
netcoreapp2.1 false