我们的开发团队(和构建服务器)成功地将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
发布于 2014-01-10 05:07:20
您可以在.NET Framework4/Visual Studio2010中使用EF6运行时,但是EF6工具不支持VS2010。EF工具已更新,可与适用于VS2012和VS2013的EF6一起使用。换句话说,在VS2010和EF6上,您可以执行CodeFirst,但不能执行模型优先/数据库优先。
https://stackoverflow.com/questions/20993794
复制相似问题