Visual Studio 2010 出现关于ActivityLog.xml错误的解决方案

本文介绍了解决Visual Studio运行时遇到异常提示的解决方案,通过修改注册表值来抑制错误消息框的显示。包括具体步骤:在注册表路径HKEY_CURRENT_USER下新建DWORD值ReportExceptions并设置其值为0。此操作适用于解决安装VS10补丁后仍然存在的异常提示问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

不知道怎么的,在用VS编写程序是第一次会跳出“ Visual Studio has encountered an exception.This may be caused by an extension.

You can get more information by running the application together with the /log parameter on command line ,and then examining the file 'C:\Document and Settings\Administrator\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml'”。按照有人方法安装“VS10-KB2251084-x86.exe”补丁后任然没效果,后来发现是注册表的问题。

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Text Editor that has the value name "Report Exceptions".  To suppress the message box, create this registry value as a DWORD and set it to 0.

HKEY_CURRENT_USER

|-------Software

|--------------Microsoft

|---------------------VisualStudio

|----------------------------10.0

|-----------------------------------Text Editor

在TextEdit上新建“Report Exceptions“的DWORD,设定值为0,完美解决。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值