Recently in the process of learning EF+MVC encountered a very strange problem:EF5.0 under the establishment of the ADO Entity Data model can be successful, under the EF6.0 set up the ADO Entity Data model with error details:
In your own computer can not find this path, the reference to EF is not in this directory, do not know how to appear this path.
Search on the internet for a long time did not find the relevant information in Chinese, English is found an article, connection: Http://forums.asp.net/t/1949811.aspx? Error+building+an+entity+model+tt+is+empty+with+one+line+errorgeneratingoutput
Based on the hints in the article, we finally found the hateful path in the system environment variable.
Solutions 1 : Adds a new one to the path where this variable value is directed IDE folder, add the three class libraries to this folder:
Solutions 2 : Delete this system variable directly.
Then try again is not everything OK! !!
Error resolution method of establishing ADO Entity Data Model under EF6.0