VS2005 Winforms Designer Exception Screen 和 IE8 [英] VS2005 Winforms Designer Exception Screen and IE8

查看:16
本文介绍了VS2005 Winforms Designer Exception Screen 和 IE8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎自从我安装了 Internet Explorer V8 以来,我的 Winforms 设计器异常屏幕 (WSOD) 已损坏.以前我会收到带有所描述错误的红色文本,今天我得到了这个:


(来源:lazypenguin.com)

It seems since I installed Internet Explorer V8 that my Winforms Designer Exception screen (WSOD) is broken. Where before I would get red text with the error described, today I get this:

WSOD Broken http://faxt.com/images/WSODBroken.png

Can anyone suggest to me a way to recover the text view of this display, I'm wasting time trying to read the reason the Winform file won't display in the designer now. Thank-you.

解决方案

I was able to fix this by adding a new subkey to the registry for .tmp and copying settings from .html. After these changes have been made, designer errors in Visual Studio should be rendered instead of displaying the HTML code for the error.

  • Open HKEY_LOCAL_MACHINE\SOFTWARE\Classes and add a new subkey of type .tmp.
  • Change the data of the (Default) value to: htmlfile
  • Add a new string value of Content Type with data of text/html
  • Add a new string value of PerceivedType with data of text


(source: lazypenguin.com)

这篇关于VS2005 Winforms Designer Exception Screen 和 IE8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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