Office 2010导致 VS2008 页面设计器无响应
2010-07-20 10:47 quanhb 阅读(1045) 评论(0) 编辑 收藏 举报原来VS2008一直用的好好的,今天突然发现一打开一个aspx文件VS2008就挂起了,点什么都没反应,刚开始以为是ReSharper的原因,卸载了也不起作用。但发现有些文件有可以编辑,有些又不行。后来用google搜啊搜啊,一不小心就找到了如下解释:
After a number of recent problems lately with the ASP.NET form designer locking up in Visual Studio 2008, I finally decided to look into it. As it turns out, it’s due to problems with the Office 2010 releases messing up the Visual Web Developer components. Since I’ve been using VS2010 for the past few months I didn’t notice this until now.
The solution was simple for me. Just run the setup for the Web components again and choose the Repair action. No reboot and I was good to go!
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
If you are running 32-bit Windows, remove the “ (x86)” part of the part.
http://www.ariankulp.com/archive/2010/03/02/web-form-designer-lockup-in-visual-studio-2008.aspx
原来是Office2010惹的祸,解决办法也很简单,运行如下文件即可:C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe。运行时选择修复。