本文介绍了在代码编辑器中选择文本时Visual Studio崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装VS 2010,没有错误,但每当我在代码编辑器,并试图选择文本,通过CTRL-A,SHIFT-ARROW或点击并拖动程序崩溃。

I just installed VS 2010 and had no errors, but whenever I'm in the code editor and try to select text, either by CTRL-A, SHIFT-ARROW or click and drag the program crashes.

这里是调试信息:

EventType:clr20r3 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

EventType : clr20r3 P1 : devenv.exe P2 : 10.0.30319.1 P3 : 4ba1fab3P4 : uiautomationprovider P5 : 4.0.0.0 P6 : 4ba1f837 P7 : 3
P8 : 0 P9 : system.dllnotfoundexception

我在google上找到这个链接,我刚刚发布了:

The only mention of it I an find on google is this link, to which I have just posted:

推荐答案

取一些尼克的建议,当它错误的时候,我在Visual Studio中调试它。它给了我无法加载DLL'UIAutomationCore.dll'。无法找到指定的模块。我google了,并到达

Taking some of Nick's advice, when it errored out, I debugged it in Visual Studio. It gave me "Unable to load DLL 'UIAutomationCore.dll'. The specified module could not be found." I googled that and arrived at

它告诉我安装

显然安装最新的版本的UI自动化API解决了这个问题。

Apparently installing the latest version of the UI Automation API solved the problem.http://www.microsoft.com/downloads/details.aspx?FamilyId=cd55456d-9703-42a0-b982-8a8a89ca0aa3&displaylang=en

而且固定问题:)

这篇关于在代码编辑器中选择文本时Visual Studio崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 08:00