Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not load assembly 'system.data.entity, version 4.2.0.0,

I have this error message

could not load assembly 'system.data.entity, version 4.2.0.0, culture=neutral,publickeytoken=b77a5c561934e089' or one of it's dependencies. the system cannot find the file specified

and I cannot use the entity framework at all. it happened after uninstalling June 2011 CTP from my computer, and I have no idea what to do. I reinstalled the visual studio again and with no help. Does anyone have any idea?

like image 483
mashta gidi Avatar asked Jan 18 '23 07:01

mashta gidi


2 Answers

after reinstalling visual studio i found another insatnce of the CTP as part of sql server in the add/remove programs, after removing that all was well.

like image 166
mashta gidi Avatar answered Mar 12 '23 00:03

mashta gidi


I had the exact same issue. After much frustration, I eventually resorted to re-installing the June 2011 CTP. Not ideal, but at least I can get on with my work...

like image 36
Jared Holgate Avatar answered Mar 12 '23 01:03

Jared Holgate