My project is MVC4, there are two versions, the first version of the direct operation is no problem, but the second version of the time to give me a hint of this error. Well, Baidu is really omnipotent. Below is the solution.
1. Find C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\ Machine.config this ghost thing, and then change the inside MYSQL.WEB.V20 into Mysql.web, save can. (Remember to copy a version and put it, who knows it's not possible?) )
2, to the control panel inside the MySQL change. Find the following or something like MySQL Connector Net 6.9.4, right-click to change:
x Drop it, NEXT, after the event and then reload the project, the problem is good.
I did this, you can not do it I'm not sure ...
About the failure to load a file or assembly "Mysql.web, version=6.7.4.0, culture=neutral, publickeytoken=c5687fc88969c44d" or one of its dependencies. The system cannot find the file specified.