visual-studio - 当我在代码编辑器中选择文本时 Visual Studio 崩溃

标签 visual-studio visual-studio-2010 exception crash

我和这张 SO 海报有完全相同的问题; Visual Studio Crashing When I Select Text in Code Editor ,除了我运行的是 Windows 7 Ultimate 并且 Bulltorious 的修复程序在 Windows 7 上对我不起作用。

事件查看器将错误报告为;

Fault bucket 1097131459, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 10.0.30319.1
P3: 4ba1fab3
P4: UIAutomationProvider
P5: 4.0.0.0
P6: 4ba1f837
P7: 3
P8: 0
P9: System.DllNotFoundException
P10:

我无法选择任何文件类型中的任何文本。如果我尝试添加或编辑任何代码,我会崩溃到桌面。为了以防万一,我已经完成了 Windows 更新并更新了常用的驱动程序。没运气。

我没有运行加载项,我尝试运行 devenv/安全模式 ,没有成功。我知道这与 有关UIAutomationProvider ,但不知道如何解决它!

有任何想法吗?

我确实在 Microsoft 的 Connect 上发过帖子,但没用:https://connect.microsoft.com/VisualStudio/feedback/details/618754/visual-studio-2010-crash-on-code-view-load

最佳答案

Watson dump 进行逆向工程,它在 MS.Internal.Automation.UiaCoreProviderApi.RawUiaClientsAreListening 中崩溃。这是来自 UIAutomationCore.dll 的 pinvoked 函数

您需要找出该 DLL 发生了什么。它存在于 c:\windows\system32 中,我的时间戳为 2009 年 7 月 13 日下午 6:27:31 CST。

关于visual-studio - 当我在代码编辑器中选择文本时 Visual Studio 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4891668/

相关文章:

c - 为什么英特尔 SpeedStep 会影响执行周期数?

c++ - 为什么我的 rand() 数字显示为 0?

visual-studio-2010 - OutputDebugString 不打印 Visual Studio 2010 中的信息

haskell - `onException` 的行为方式

.net - SQL Server 存储过程引发多个错误

visual-studio - MSBuild:避免重复构建任何 CPU 项目引用

c++ - OPENSSL 错误 : lib(6) func(101) reason(100) evp_enc. c

c# - 在对象浏览器中看不到引用的 DLL?

exception - 不断收到错误信息 "Arguments are not sufficiently instantiated"不明白为什么

wpf - 如何使用.NET Core 3和Visual Studio创建WPF应用