打开mvc项目的csproj文件:
<MvcBuildViews>false</MvcBuildViews>
改为
<MvcBuildViews>true</MvcBuildViews>
在MVC中如何使用vs2013编译调试razor cshtml
原文:http://www.cnblogs.com/yeagen/p/3539854.html