gpt4 book ai didi

visual-studio-2010 - 我可以将 Entity Framework 6 与 Visual Studio 2010 一起使用吗?

转载 作者:行者123 更新时间:2023-12-03 14:52:19 25 4
gpt4 key购买 nike

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

关于visual-studio-2010 - 我可以将 Entity Framework 6 与 Visual Studio 2010 一起使用吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20993794/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com