在VisualStudio 2012上使用MVC3出现错误的解决办法

时间:2014-05-20 07:47:30   收藏:0   阅读:686

1. 错误:

找不到方法:“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>

在VisualStudio 2012上使用MVC3出现错误的解决办法,布布扣,bubuko.com

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!