Right clicking suddenly unbearably slow in VS 2010

。_饼干妹妹 提交于 2019-12-10 14:17:04

问题


I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging.

It happens if I right click anywhere within the code editor. Everything freezes for about a minute and a half, then the right click menu shows up. If I try again right away, the same thing happens.

Intellisense seems to work fine. It is only the right click.

The project is fairly big, but it has been working fine. I am working on a 2 month old top of the line MacBook Pro (running Windows 7 64 bit in Boot Camp). I did do the patch Tuesday big batch of Microsoft patches in the last 24 hours...

Can anyone suggest where to look?


回答1:


A delay that long is almost always associated with network time-outs. Use the trouble-shooting strategy demonstrated by Mark Russinovich in this blog post.




回答2:


Windows 7, x64, 12GB memory, very slow right clicks:

The following steps fixed the problem for me. Right click is now instantaneous. Your Mileage may vary:

I deleted the following directory: %AppData%Local\Microsoft\VisualStudio\10.0

and reinstalled these three packages from the Visual Studio 2010 Ultimate DVD

Microsoft SQL Server 2008 R2 Data-Tier Application Framework with this command: \WCU\DAC\DACFramework_enu.msi

Microsoft SQL Server 2008 R2 Data-Tier Application Project: \WCU\DAC\DACProjectSystemSetup_enu.msi

Microsoft SQL Server 2008 R2 Transact-SQL Language Service: \WCU\DAC\TSqlLanguageService_enu.msi



来源:https://stackoverflow.com/questions/3467763/right-clicking-suddenly-unbearably-slow-in-vs-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!