Why is Entity Framework 6.1.3 throwing a “Could not load type ‘System.Data.Entity.Infrastructure.TableExistenceChecker'”

If you find as I did that EF is not installed in the Gac then the next step is to uninstall it AFTER you note the version of your package. I use NuGet so I went to Tools…Library Package Manager…Package Manager Console. I tried the GUI first but uninstalling failed and as of this writing you can only install the latest version of the package.

  1. Open your solution and go to Tools…Library Package Manager…Package Manager Console
  2. Select the project that uses EF and is having the problem
  3. Type Uninstall-package EntityFramework
  4. You should be prompted to restart Visual Studio so close and reopen VS and your solution
  5. Open Package Manager Console with Tools…Library Package Manager…Package Manager Console
  6. Type Install-package EntityFramework (add -Version x.x.x if you’re installing an older version)
  7. You should be good to go

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)