Could not load file or assembly 'EntityFramework, Version=6.0.0.0,
First check which version of EF you using.
You can update the EF version from NuGet
Manage Pack.
Go to your Project solution - > 'Manage NuGet packet for Solution', click 'Manage' on 'Entity Framework'.
and also Check your app.config
. Maybe the wrong version number is being referenced here.
Edit:
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
It's referencing EF Version 5.0.0.0
From the comments section it appears that you weren't able to install the latest version of EF from the public NuGet source because your computer didn't have direct access to the internet and was unable to resolve the www.nuget.org
domain. Normally if you configure a proxy in your internet settings, Visual Studio will use this proxy when installing a NuGet from the public repository.
So once you have installed the latest EF 6.1.0
package in your project, the error will go away. Currently you seem to be using some older version of the package and you have projects in your solution that require v6.
Open
Toos > Nuget Package Manager > Package Manager Console
then run
PM> install-package entityframework -version 6.0.0.0
Or You can update it to latest version using below command
PM> Update-Package entityframework