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

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

问题描述

自从我升级到Windows 10以来,我的实体模型几乎不可能更新。永远打开模型设计器,然后永远右键单击设计器以显示上下文菜单,选择从数据库更新模型。在VS 2015中打开相同的模型,但在Windows 8.1上打开的速度要快得多。它似乎并不只是我的机器,因为我们的Windows 10上的其他开发人员也是这样。但是Windows 8.1上的那些开发人员没有问题。

解决方案

我有完全相同的问题,并通过执行以下操作来解决:




  • 导航到工具>选项>一般

  • 取消选择根据客户效能自动调整视觉体验

  • 取消选择使用图形加速(如果有)



虽然您可能不需要,我已经离开了启用丰富的客户端视觉体验。



还有另外一个正在使用这个问题的用户,上述的解决方案对此没有帮助,也许值得关注他们的帖子,看看有没有任何进一步的想法。我在下面列出了他们的问题的链接。 :)



实体框架edmx点击图非常慢


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:

  • Navigate to Tools > Options > General
  • Untick "Automatically adjust visual experience based on client performance"
  • Untick "Use graphics acceleration if available"

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. :)

Entity Framework edmx click on diagram very slow

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

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