为什么Visual Studio 2015冻结死机会在Designer视图上挂起? [英] Why Visual Studio 2015 freezes crashes hangs on Designer view?

查看:134
本文介绍了为什么Visual Studio 2015冻结死机会在Designer视图上挂起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次 我会进入设计器的Visual Studio冻结30秒钟以上(无响应),然后单击任何元素/小部件后,它将再次冻结30岁以上.这样做5次,然后我就可以进行编辑和设计了.

Everytime I go to the designer Visual Studio freezes(Not Responding) for 30+ seconds and once I click on any element/widget after that, it freezes again for 30+. Does that for 5 times maybe then I will be able to edit and design.

规格:

  • Visual Studio社区2015
  • Windows 10 64位
  • 已包含Dev Express
  • 已安装ReSharper
  • 已安装Visual Studio 2013
  • 所有可重新分配的文件(2005、2008、2010、2012、2013、2015)
  • 已安装MVS 2015 1.7.6.0的TypeScript工具
  • Windows Phone 8.1模拟器-已安装ENU
  • 16 GB Ram
  • 英特尔i5 6500 CPU 3.20 GHx
  • 10154 MB GeForce GTX 750 Ti
  • Visual Studio Community 2015
  • Windows 10 64-bit
  • Dev Express Included
  • ReSharper Installed
  • Visual Studio 2013 installed
  • All Redistibutable files (2005, 2008, 2010, 2012, 2013, 2015)
  • TypeScript Tools for MVS 2015 1.7.6.0 installed
  • Windows Phone 8.1 Emulators - ENU installed
  • 16 GB Ram
  • Intel i5 6500 CPU 3.20 GHx
  • 10154 MB GeForce GTX 750 Ti

尝试:

  • 修复Visual Studio
  • 更新2安装
  • 卸载VS,然后重新安装
  • 卸载ReSharper
  • 到目前为止(几乎)重新启动了VS和我的PC百万次

出了什么问题?

编辑XAML会使Visual Studio的Designer崩溃不必编辑Xaml即可解决问题,我只需单击查看"即可.但是该解决方案不起作用.

Editing XAML leads Visual Studio's Designer to crash I don't have to edit Xaml to get the problem, I am just clicking my View to, well, view. However the solution did not work.

当然,Visual Studio 2012会停止编辑XAML .

Visual Studio 2012设计视图导致冻结无法修复.

Visual Studio 2013于何时挂起/冻结试图单击设计器视图无人回答.

  • 冻结VS时,这是我的任务管理器的样子:

  • 处于安全模式的Visual Studio无法打开我的大多数文件.这样说:

  • 由于上述相同错误"不受支持"

我能够在安全模式下创建一个新项目,并且工作正常.

I was able to create a new project in Safe Mode, and it worked fine.

我能够在普通模式下创建一个新项目,并且工作正常.

I was able to create a new project in Normal Mode, and it worked fine.

当我将整个项目复制/粘贴到另一个设备中时,我遇到了同样的冻结问题.所以,这是我的项目所独有的.

I faced the same freezing issue when I copied/pasted the whole project into another device. So, it is something unique to my project I guess.

我忘了提到我去设计器的某些时候,它说Invalid Markup并阻止了我查看视图,直到我从XAML中删除了这些行:

I forgot to mention that some of the times that I go to the designer, it says Invalid Markup and blocks me from seeing the View until I remove these lines from the XAML:

    <dxg:TableView.ColumnMenuCustomizations>
        <dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxg:DefaultColumnMenuItemNamesBase.ColumnChooser}" />
    </dxg:TableView.ColumnMenuCustomizations>

即使我将这些行保留在XAML中,它也可以编译并运行良好,但是如果不删除它们就无法查看.如果保留这些视图,这就是我的视图之一:

It compiles and runs fine even if I keep these lines in XAML, but I can't view without removing them. And this is how one of my Views looks like if I keep them:

带下划线的警告"使标记无效"是:

And the underlined warning which "invalidate the Markups", is:

"ColumnMenuCustomizations"属性没有可访问的设置器

The property "ColumnMenuCustomizations" does not have an accessible setter

推荐答案

一旦我删除了该文件夹的内容,Designer便停止冻结:

Designer stopped freezing once I deleted the content of this folder:

C:\ Users \ ... \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0

C:\Users\ ...\AppData\Local\Microsoft\VisualStudio\14.0

这篇关于为什么Visual Studio 2015冻结死机会在Designer视图上挂起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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