Visual Studio 2008在编辑aspx/母版页时冻结 [英] Visual Studio 2008 freezing when editing aspx/master pages

查看:89
本文介绍了Visual Studio 2008在编辑aspx/母版页时冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我编辑母版页或aspx文件时,Visual Studio连续冻结.这是我尝试过的无济于事的方法:

Visual Studio freezes up continually when I'm editing master pages or aspx files. Here's what I've tried that have not helped:

  • 重新启动VS
  • 只能一次打开几个文件
  • 禁用所有插件(重新加载程序等)
  • 已删除.suo和.user文件
  • 更改了默认编辑器 从Web表单编辑器和母版页 编辑器到HTML编辑器
  • 已安装SP1
  • restarting VS
  • only working with few files open at a time
  • Disabled all addins (resharper etc.)
  • deleted .suo and .user files
  • changed default editor from Web Form Editor and Master Page Editor to HTML Editor
  • installed SP1

我没有大量文件-3个母版页,可能还有30个aspx文件.这是一个asp.net mvc项目.要使VS冻结,我要做的只是键入一些文本,甚至只是粘贴.冻结持续5-10秒.我的机器有4GB的RAM和快速磁盘.

I don't have tons of files - 3 Master pages and maybe 30 aspx files. It is a asp.net mvc project. All I have to do to get VS to freeze is type a little text or even just paste. The freezing lasts a good 5-10 seconds. My machine has 4GB of RAM and fast disks.

与asp.net mvc有什么关系吗?解决方案中其他项目的数量和大小会影响编辑器吗?

Could it have anything to do with asp.net mvc? Would the amount and size of other projects in the solution affect the editor?

推荐答案

我通过从计算机上卸载"Microsoft Visual Studio Web创作组件"来解决此问题.可以从控制面板"中的添加/删除程序"选项中将其卸载.真是一场噩梦!

I Solved this problem by uninstalling 'Microsoft Visual Studio Web Authoring Component' from my machine. It can be uninstalled from 'Add/Remove Programs' option in Control Panel. What a nightmare!

现在一切正常.我很惊讶微软无法弄清楚问题和解决方案是什么.他们又在研发和Q/A上花费了多少????

Now everything works just like its supposed to. I'm surprised Microsoft couldn't figure out what the problem and solution is. How much do they spend on R&D and Q/A again?????

希望这对其他人有帮助.

Hope this helps others.

这篇关于Visual Studio 2008在编辑aspx/母版页时冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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