37
votes

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?

3
Since all major Windows release supports .NET 4.5 (XP/Server 2003 are going to phase out soon), there is little hope for EF 6 to support non-.NET 4.5. Visual Studio 2013 is going to launch in only a few days, so Visual Studio 2010 becomes "too old".Lex Li

3 Answers

49
votes

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

2
votes

Entity Framework Version History

EF6 This release can be used in Visual Studio 2013, Visual Studio 2012 and Visual Studio 2010 (runtime only) to write applications that target .NET 4.0 and .NET 4.5.

1
votes

As of writing, on October 2018, latest EF 6.2.0 still supports .NET 4.0 and works very fine in Visual Studio 2010.