为什么 Visual Studio 2015 冻结崩溃挂在设计器视图上? [英] Why Visual Studio 2015 freezes crashes hangs on Designer view?

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

问题描述

每次我去设计器 Visual Studio 冻结(无响应)超过 30 秒,然后一旦我点击任何元素/小部件,它再次冻结30+.做5次也许然后我就可以编辑和设计了.

规格:

  • 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 内存
  • 英特尔 i5 6500 CPU 3.20 GHx
  • 10154 MB GeForce GTX 750 Ti

尝试:

  • 修复 Visual Studio
  • 更新 2 安装
  • 卸载 VS 然后重新安装
  • 卸载 ReSharper
  • 现在重启了 VS 和我的电脑(几乎)百万次

有什么问题??

  • 处于安全模式的 Visual Studio 无法打开我的大部分文件.这么说:

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

  • ,我无法在安全模式下打开任何旧版本(对于同一个应用程序)
  • 我能够在安全模式下创建一个新项目,并且运行良好.

  • 我能够在普通模式下创建一个新项目,并且运行良好.

  • 当我将整个项目复制/粘贴到另一台设备时,我遇到了同样的冻结问题.所以,我想这对我的项目来说是独一无二的.

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

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

即使我将这些行保留在 XAML 中,它也能正常编译并运行,但如果不删除它们,我将无法查看.如果我保留它们,这就是我的一个视图的样子:

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

<块引用>

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

解决方案

一旦我删除了这个文件夹的内容,设计师就停止了冻结:

<块引用>

C:Users ...AppDataLocalMicrosoftVisualStudio14.0

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.

Specs:

  • 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

Attempts:

  • Repair Visual Studio
  • Update 2 installation
  • Uninstall VS then Reinstall
  • Uninstall ReSharper
  • Restarted VS and my PC (almost) million times by now

What is the issue??

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 hangs on editing XAML of course..

Visual Studio 2012 design view causes freeze Repairing did not work.

Visual Studio 2013 hangs/freezes when trying to click the designer view No answer.

Edit:

  • When VS is frozen, this is how my Task Manager look like:

  • Visual Studio in Safe Mode couldn't open most of my files. Saying this:

  • I was not able to open any of the old versions in Safe Mode (for this same application) due to the same above error "Unsupported"

  • 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.

  • 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>
    

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:

The property "ColumnMenuCustomizations" does not have an accessible setter

解决方案

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

C:Users ...AppDataLocalMicrosoftVisualStudio14.0

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

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