An assembly with the same identity 'System.Data.Entity' exists error on running a query

edited March 2012
I have LINQPad pointed at an EF DataContext that lives inside a WebApplicationProject, the datacontext comes up fine in the left hand pane, all of the entities are listed OK. However when I try to run any queries I get the following error:

An assembly with the same identity 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references.

Does anyone have any idea how to resolve this? I found someone having similar problems that said to make sure to not set System.Data.Entity to copy local but I didn't have that set anyway. Any ideas would be much appreciated!

Thanks,

Karim

Comments

Sign In or Register to comment.