I am trying to deploy an ASP.NET MVC 3 Beta application on my hosting. It supports all the necessary technologies, and through the trail and error I set the necessary links Copy Localto True. Then I received an error message that my application could not find the view. He listed the .cshtml files that he tried. I had these files in my project, but they were not deployed. I found that Visual Studio 2010 does not install .cshtml files property of Build Actionboth Content, as well as for the .aspx file.
Is there a way to make Visual Studio automatically install .cshtml as Content, or will I need to install it manually for every Razor View that I add?
source
share