您的位置:首页 > 数据库 > MySQL

关于vs2013 mysql Ef框架中提示版本不兼容问题的解决办法

2016-02-29 14:22 691 查看
<runtime>
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name= "EntityFramework" culture= "neutral" publicKeyToken= "b77a5c561934e089" Retargetable= "Yes"/>
<bindingRedirect oldVersion= "4.4.0.0" newVersion= "6.0.0.0"/>    <!--oldverison 旧版本是多少我这里是4.4 新版本时候6.0-->
</dependentAssembly>

</assemblyBinding>

</runtime>
</configuration>

在web.config中 加入红色部分.  name="你引用dll的名字"

publicKeyToken="你现dll的唯一token";
哎,百度了好多就是不开窍.
还有说加一个app.config的试了多少次都不行.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: