hhhh2010

博客园 首页 新随笔 联系 订阅 管理

 

错误:

找 不到方 法:“System.Collections.Generic.Dictionary`2<System.String,BlockParser> System.Web.Razor.Parser.CSharpCodeParser.get_RazorKeywords()”。

解决方法:在web.config中删除:

<dependentAssembly>
    <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35"  
                      culture="neutral"/>
    <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>

 

原文地址:http://www.cnblogs.com/ustcyc/p/3736825.html

posted on 2016-06-23 12:08  hhhh2010  阅读(500)  评论(0编辑  收藏  举报