Hi I realise there is a very similar question here. Firstly the answer proposed was not relevant as I did not have a version in the GAC. I have also tried uninstalling .NET Framework and visual studio (2013) with no luck.
For my existing projects using a version of Entity Framework before 6.1.3 it gives me the following error when I try and run:
{"The type initializer for 'System.Data.Entity.SqlServer.SqlProviderServices' threw an exception."}
Could not load type 'System.Data.Entity.Infrastructure.TableExistenceChecker' from assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.":"System.Data.Entity.Infrastructure.TableExistenceChecker"
However they build fine, and if I use 6.1.3 it for some reason works. I know it's unique to my machine as they work on my colleagues' machines. It does this on any project referring to EntityFramework (or EntityFramework.SqlServer). It's as if somewhere there is an older version of EntityFramework.dll, but like I say it's not in the GAC.
The other suggestions have been to uninstall and reinstall with a specific version, and this doesn't work. I can't remember the point in time where it stopped working (as it has been working in the past), although it probably has something to do with me installing VS2015 which I have recently uninstalled, to no avail.
Please let me know if anyone can help or needs more information.
Many thanks.