Does Entity Framework 6 support .NET 4.0?

主宰稳场 提交于 2019-12-28 05:56:08

问题


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?


回答1:


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:


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.




回答3:


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



来源:https://stackoverflow.com/questions/19239140/does-entity-framework-6-support-net-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!