I am trying to publish my MVC application in .NET core. I tried the File system, but it's missing all the View related files and throws error as soon as accessed.
After copying the view folder it started working . I am not sure If it's missing other web components also.
Make sure you have
Viewsin yourPublishOptionsof Project.json.If you are maintaing views inside Areas then make sure you have added
Areas/**/ViewsSample below-
See if this helps.