I am not sure what is going on but I keep getting the following exception when doing a query. \"Duplicate type name within an assembly.\" I have not been able to find a solu
Had same issue that has taken hours yesterday to get rid of. Using EF 6.1.0, error on executing linq to entities query similar as above. My solution was to stop IIS Express, clean solution , uninstall EF from all projects in solution, close VS2012, delete all packages folders/files within solution, then restart VS2012, add EF 6.1.0 where needed, compile, error disappeared.