没有为扩展名“.cshtml”注册的生成提供程序。
webconfig中配置
<compilation debug="true" targetFramework="4.0">
<buildProviders>
<add extension=".cshtml" type="System.Web.Compilation.PageBuildProvider"/>
</buildProviders>
</compilation>
希望大家能一起加入到NCF的社区当中来,一起为中国之崛起Coding
QQ:365845726