我们的开发团队(和构建服务器)成功地将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
Pawel.. 18
您可以在.NET Framework 4/Visual Studio 2010中使用EF6运行时,但EF6工具不支持VS2010.EF工具已更新,可与EF6 for VS2012和VS2013配合使用.换句话说,在VS2010和EF6上,您可以执行CodeFirst但不能使用ModelFirst/DatabaseFirst.
您可以在.NET Framework 4/Visual Studio 2010中使用EF6运行时,但EF6工具不支持VS2010.EF工具已更新,可与EF6 for VS2012和VS2013配合使用.换句话说,在VS2010和EF6上,您可以执行CodeFirst但不能使用ModelFirst/DatabaseFirst.