EF6,与 Windows 8.1 上的 VS 2015 相比,在 Windows 10 上的 VS 2015 中刷新了大型 DB 优先实体模型 [英] EF6, refreshing large DB-first entity model taking forever in VS 2015 on Windows 10, compared to VS 2015 on Windows 8.1

查看:28
本文介绍了EF6,与 Windows 8.1 上的 VS 2015 相比,在 Windows 10 上的 VS 2015 中刷新了大型 DB 优先实体模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我升级到 Windows 10 后,我的实体模型几乎无法更新.打开模型设计器需要永远,然后永远右键单击设计器以调出上下文菜单以选择从数据库更新模型".在 VS 2015 但在 Windows 8.1 上打开相同的模型要快得多.它似乎不只是我的机器,因为我们在 Windows 10 上的其他开发人员也在发生同样的情况.但在 Windows 8.1 上的开发人员没有问题.

Ever since I upgraded to Windows 10 my entity model has been nearly impossible to update. It takes forever to open the model designer, then forever to right click the designer to bring up the context menu to select "Update model from database". Opening the same model in VS 2015 but on Windows 8.1 is much, much faster. It doesn't seem to be just my machine since the same is happening for our other developers on Windows 10. But those on Windows 8.1 have no problems.

推荐答案

我遇到了完全相同的问题,通过以下操作解决了:

I had exactly the same issue, and resolved it by doing the following:

  • 导航到工具 > 选项 > 常规
  • 取消勾选根据客户表现自动调整视觉体验"
  • 取消勾选使用图形加速(如果可用)"

尽管您可能不必这样做,但我没有勾选启用丰富的客户端视觉体验".

Though you may not have to, I left "Enable rich client visual experience" unticked.

还有另一位用户遇到此问题,上述修复对他没有帮助,可能也值得关注他们的帖子,看看是否有人有任何进一步的想法.我在下面提供了他们问题的链接.:)

There's also another user who is having this issue, for whom the aforementioned fix does not help, it might be worth keeping an eye on their post, too, to see if anyone has any further ideas. I've included a link to their question below. :)

实体框架edmx点击图很慢

这篇关于EF6,与 Windows 8.1 上的 VS 2015 相比,在 Windows 10 上的 VS 2015 中刷新了大型 DB 优先实体模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆