问题解决_(转载)在VisualStudio 2012上使用MVC3出现错误的解决办法

Posted hhhh2010

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了问题解决_(转载)在VisualStudio 2012上使用MVC3出现错误的解决办法相关的知识,希望对你有一定的参考价值。

 

错误:

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

以上是关于问题解决_(转载)在VisualStudio 2012上使用MVC3出现错误的解决办法的主要内容,如果未能解决你的问题,请参考以下文章