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

 淀死鈊 发布于 2023-02-05 11:20

我们的开发团队(和构建服务器)成功地将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.

1 个回答
  • 您可以在.NET Framework 4/Visual Studio 2010中使用EF6运行时,但EF6工具不支持VS2010.EF工具已更新,可与EF6 for VS2012和VS2013配合使用.换句话说,在VS2010和EF6上,您可以执行CodeFirst但不能使用ModelFirst/DatabaseFirst.

    2023-02-05 11:22 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有