Visual studio 2010 我可以在Visual Studio 2010中使用Entity Framework 6吗?

Visual studio 2010 我可以在Visual Studio 2010中使用Entity Framework 6吗?,visual-studio-2010,entity-framework,entity-framework-6,Visual Studio 2010,Entity Framework,Entity Framework 6,我们的开发团队(和构建服务器)成功地将Visual Studio 2010和Visual Studio 2012混合用于我们的应用程序 然而,由于从EF5升级到EF6,我们似乎不再能够使用VS2010进行构建。 具体来说,构建机器根本不会构建。我的桌面上的VS2010似乎确实在构建,但我遇到以下错误: Error 4 Error 10023: Could not find the conceptual model to validate. Error 5 Error 10024

我们的开发团队(和构建服务器)成功地将Visual Studio 2010和Visual Studio 2012混合用于我们的应用程序

然而,由于从EF5升级到EF6,我们似乎不再能够使用VS2010进行构建。 具体来说,构建机器根本不会构建。我的桌面上的VS2010似乎确实在构建,但我遇到以下错误:

Error   4   Error 10023: Could not find the conceptual model to validate. 
Error   5   Error 10024: Could not find the storage model to validate.
Error   6   Error 10025: Could not find the mapping model to validate.
编辑:

我们的构建机器没有.Net 4.5,我们的桌面机器(由于IT政策)有.Net 4.5。在没有4.5版本的机器上,我们还得到了以下内容,这些内容阻止了组装生成

Could not find the Conceptual Schema node to embed as a resource for input file

您可以将EF6运行时与.NET Framework 4/Visual Studio 2010一起使用,但是EF6工具不支持VS2010。EF工具已更新,可用于VS2012和VS2013的EF6。换句话说,在VS2010和EF6上,您可以执行CodeFirst,但不能执行ModelFirst/DatabaseFirst。

rob,我相信在运行.net v4.0时,可以使用web.config设置来使用EF5。如果我可以rmbr的确切细节将添加作为一个答案,但希望这将得到你的方式你能使用反向工程代码首先与VS2010和EF6?谢谢@JosephDoggie-不使用内置工具-支持EF6的工具仅支持VS2012和VS2013。您可以尝试EF Power Tools或安装VS2013的快速版本(免费),其中包含支持EF6的工具。在运行时,您是否打算使用EF6模型制作一个单独的库(dll),然后在VS2010项目中引用它?如果是这样的话,那对我来说就行了。