1

I am working on asp.net core 2.0 web application and I am publishing code to local folder using visual studio 2017 but I see views folder is not published. I see a dll named WebApplication1.PrecompiledViews.dll. Where are views folder gone. How can I get views folders?

Please suggest.

Asif Hameed
  • 1,353
  • 9
  • 25
  • 46

1 Answers1

2

Views are always compiled in ASP.NET Core. You never get a Views folder when you publish an ASP.NET Core app.

Chris Pratt
  • 232,153
  • 36
  • 385
  • 444
  • 1
    that is not really true, please check https://stackoverflow.com/questions/46255990/publish-the-views-with-asp-net-core – mko Oct 23 '18 at 10:59