Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Entity Framework 6 support .NET 4.0?

I believe Entity Framework 6 is intended for .NET 4.5. I'm wanting to use it for a Visual Studio 2010 project, so .NET 4.5 isn't available.

Does it support .NET 4.0 and hence Visual Studio 2010?

like image 652
Sam Avatar asked Oct 08 '13 04:10

Sam


People also ask

Is Entity Framework 6 still supported?

Versions 6.0, 6.1, 6.2, and 6.3 are no longer supported. Although Entity Framework 6. x is still supported, it is no longer being developed and will only receive fixes for security issues.

Does Entity Framework 6 work with .NET core?

To use Entity Framework 6, your project has to compile against . NET Framework, as Entity Framework 6 doesn't support . NET Core. If you need cross-platform features you will need to upgrade to Entity Framework Core.

Does Entity Framework support .NET standard?

Entity Framework Core... can work with both full NET framework and NET Core (because it supports NET Standard), Entity Framework 6 can work only with full NET framework. See ...

What is difference between Entity Framework 5 and 6?

EF5 is built into the core of . NET 4.5, whereas EF6 has been shifted out, and is open source. This means that you must add the new EF6 assemblies to all of the relevant projects in the solution, in particular the entry project. This means that you must remove assembly System.


1 Answers

Entity Framework 6 does support .NET 4.0. You should update your version of NuGet then try again. You can find the download at http://www.nuget.org/. I successfully downloaded EntityFramework 6.0.0-rc1 from the main nuget.org feed from an application targeting .NET 4.0

like image 162
lukew Avatar answered Sep 22 '22 06:09

lukew