in the nuget package console for your project (select it in the dropdown) type:
Uninstall-package EntityFramework
Install-Package EntityFramework -version 5.0.0
in the nuget package console for your project (select it in the dropdown) type:
Uninstall-package EntityFramework
Install-Package EntityFramework -version 5.0.0