[备忘]没有为扩展名“.cshtml”注册的生成提供程序
webconfig中配置
<compilation debug="true" targetFramework="4.5.1">
<buildProviders>
<add extension=".cshtml" type="System.Web.Compilation.PageBuildProvider"/>
</buildProviders>
</compilation>
转载请注明出处和作者,谢谢!
作者:JeffreySu / QQ:498977166
博客:http://szw.cnblogs.com/
Senparc官方教程《微信开发深度解析:微信公众号、小程序高效开发秘籍》,耗时2年精心打造的微信开发权威教程,点击这里,购买正版!