Home Cannot access @model in a Razor view located on a folder outside the "~/Views/..."
 In the VS2017 project, I had to create a view outside the "~/Views/..." folder and I added the "@inherits System.Web.Mvc.WebViewPage" . It works but after I added a model, it says "The name model does not exist in the current context. Bellow is the view code. My question is if there is a solution or do I have to move it back to the default folder, which will be another problem, since it is a client's specific view and there are several different clients. @inherits System.Web.Mvc.WebViewPage @model (underline in red)