I am working on an ASP.Net MVC 3 web application using EF 4.1. Since today, I am getting this error:
System.ArgumentException: Duplicate type name within an assembly
Ran into this issue today. I deleted all of my tables from the Entity Model .edmx file, the updated my model from the Database (right-click --> update from database).
.edmx
right-click --> update from database
Then I re-compiled and it ran fine. Such an odd error.
I am running MVC 4 and EF 5.0