visual studio 2013 hangs on right click

Teoman shipahi picture Teoman shipahi · Jun 21, 2014 · Viewed 6.9k times · Source

After I install Visual Studio 2013 update 2, I notice that right click on any kind of project file (aspx, cshtml) causes about 45 seconds of hang in Visual Studio. It eventually opens context menu, but every single time this happens.

If I right click on Solution Explorer, Class View etc.. there is no issue at all, just in files editor.

I am using intel i7 processor and 16gb ram (hardware is not an issue) and Windows 8.1 Pro.

I also cannot connect tfs online for last 2 days so I am using my solution with disconnect from tfs. This causes hangs on start up because it tries to connect remote server. But I am not sure it will cause issue on right click of the files.

What I did up to this moment;

1- Installed last update again 2- Restarted Visual Studio several times 3- Restarted PC 4- Cleared TFS cache files

Is there any idea what is causing this issue?

Update: I created an empty MVC project without TFS binding and there is not issue. Looks like it is totally related to TFS dis-connectivity, I will investigate more and will post answer if find out.

Answer

Rudey picture Rudey · Sep 2, 2014

ReSharper can cause this problem. You can suspend it (temporarily) to see if the problem is solved. If it is indeed solved, you should clear ReSharper's cache before you enable it again. Go to %LOCALAPPDATA%\JetBrains\ReSharper and delete the SolutionCaches folder for whatever version of ReSharper you are using.