Users may occasionally encounter a dialog box that has the text "Visual Studio has encountered an exception. This may be caused by an extension. See the Activity Log for more details." This dialog box will appear no more than once per Visual Studio session.
To resolve this issue:
This dialog box can often be dismissed just by clicking OK. The Activity Log can be helpful when you debug your own extensions or report errors to Microsoft. For more information about how to use the Activity Log, visit http://msdn.microsoft.com/en-us/library/ms241272(VS.100).aspx .
If you no longer want this dialog box to be displayed, you can disable it by creating a registry key under 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. The dialog box should no longer appear.
本文由VS软件圈(vssoft.net)发布,不代表VS软件圈立场,转载联系作者并注明出处:https://vssoft.net/vsazwt/VS2010anzhuangwenti/2020/0724/2432.html