ReSharper stopped working for a single specific solution

If ReSharper stopped working for a single specific solution (like, there is no Code Analysis, Navigation, Code Inspections, etc.), but works fine for the others, this might indicate that solution specific settings, as well as ReSharper caches are corrupted, and VS with ReSharper cannot rebuild them automatically for some reason.

In order to fix it, please try 

  • removing a '.suo' file located in "\.vs\{Solution Name}\v14\" folder for VS2015/VS2017/VS2019/VS2022 or a '{Solution Name}.suo' file next to .sln file for VS2010/2012/2013;
  • using the 'Clear Caches' button in "ReSharper | Options | Environment | General" dialog

2017-02-16_1437.png

 

In case you would like to remove ReSharper caches folder manually, you need to check which "caches folder" location is opted for in "ReSharper | Options | Environment | General | Caches | Store solution caches in" dropdown:

  • User local settings folder (default one)

    "_{SolutionName}.{guid}" folder in %LocalAppData%\JetBrains\Transient\ReSharperPlatformVs{VS_version}\v0X\SolutionCaches

  • System TEMP folder

    "_{SolutionName}.{guid}" folder in %LocalAppData%\Temp\JetBrains\ReSharperPlatformVs{VS_version}\v0X\SolutionCaches

  • Solution folder

    "_ReSharper.Caches" folder in the solution folder

  • Custom folder

    "_{SolutionName}.{guid}" folder in a folder you specified Options

43 comments
Comment actions Permalink

Came here to look for a solution to Visual Studio 2015 freezing during opening a solution. During the 'Processing assemblies' step of Resharper the progress would stop and eventually VS stopped responding.
I couldn't clear the Resharper caches as I couldn't load the project: "Clear caches is applicable when solution exists only. Open solution first." Obviously, I couldn't do that.
To quickly find where exactly the caches are (my options is "User local settings folder", but should work with other options too) select the "Custom folder" option (don't save) and it will print the currently used path. Go there and delete the cache for your solution. This fixed the problem for me.

3
Comment actions Permalink

I waste my time with this problem for a couple of days. 

My environment: Visual Studio 2015, Visual Studio 2013 and ReSharper 10.0.2 (the latest available).

Everything works fine but with a specific solution in VS2015 (the same solution works in VS2013). Moreover, this solution worked since few days ago.

The problem is that, when I open the solution, Visual Studio freezes during the "processing assemblies" phase (I can see the steps in the right below area of VS).
If I suspend Resharper (Tools > Options > Resharper Ultimate > General), the same solution works again (but without R#).

Please, note that I didn't have the R# cache folder in my solution folder (in Resharper option > Environment > General > Caches) the value of "Store solution caches in" was "User local settings folder".

To solve the problem (after many attempts) I've simply open Visual Studio (just the environment, NOT the solution), then opened the Resharper options and changed the above setting to "solution folder".
This forces VS15 to recreate the cache (I suppose that the problem is actually in the cache, maybe corrupted), and now everything work again.

I hope this could be useful for someone. Let me know if it's ok for you too.

2
Comment actions Permalink

Didn't work for me. VS 2013 Update 4 with Resharper 9.  Solution builds but red methods and classes everywhere.

1
Comment actions Permalink

This fixed it for me: Check if you have git merge conflict markers ("<<<", "===", or ">>>") in your sln or csproj files...

Apparently visual studio is not complaining if this happens, but resharper is not going to work and fail silently.

1
Comment actions Permalink

Hi,

A recent update has broken me this feature for all projects. None of the advice helped at all.

But I've noticed one option that was the reason of this issue for me.

You may try to turn off "Env->General->Solution model". Good luck.

1
Comment actions Permalink

Hello Genaro Aguero,

 

Could you please contact us via "Submit a request" form at the top of the page and describe in detail what actually doesn't work for you.

Please also run Visual Studio with the following command line: 'devenv /ReSharper.LogFile c:\log\resharper.log /ReSharper.LogLevel Verbose', reproduce the issue and send us a corresponding 'resharper_log.txt' file.

Thank you.

1
Comment actions Permalink

I am having the same problem with a single solution using Visual Studio 2017 Update 3 with Resharper 2017.1.3. Clearing caches, cleaning and rebuilding the solution does not work. Resharper intellisense is only providing options from the .Net framework and nothing from the solution. For other solutions it works perfectly. Even more strange is that if i open this same solution in VS 2015 or Rider then Intellisense works perfectly. Problem is that this is a cross platform solution for latest version of UWP so Rider and VS 2015 are not options for me. Now i am stuck using VS intellisense which does not pick up critical Resharper code templates i have built that i need for this solution. This has brought my productivity to really low levels. I really need alternatives to fixing this.

1
Comment actions Permalink

Hi Sean Jacquelin,

I didn't try the steps yet. I have to perform. I didn't send them any project. I can't send even a single project/sln.

From your comment, does it mean it did work or something !?

0
Comment actions Permalink

Fixed my issue.  Although I only had a <solution\_name>.suo file and not the folder.  I am using ReSharper 8.2.3 and VS 2013 Update 3

0
Comment actions Permalink

I am having the same issue. When opening one solution ReSharper works as expected, but when I open another solution ReSharper will not work. Which is weird, since it has been working for months with the solution that now 'fails'. 

Things like Alt+Enter, F6 (refactor), F2 (rename) etc. just do not work, while they do work when loading another solution.

I am using Visual Studio Enterprise 2019 (16.5.1) with JetBrains ReSharper Ultimate 2019.3.4 Build 193.0.20200226.112949 built on 2020-02-26
dotCover 2019.3.20200227.100227
dotTrace 2019.3.20200227.100036
ReSharper 2019.3.20200227.95333
dotMemory 2019.3.20200227.100031

I've tried, multiple times, to clear the cache (both manually as per the 'clear cache' button, reinstalling ReShaper, removing the .suo file. Nothing seems to work...

----

Responding on the comment below:

For me it's the other way round... The .NET Framework 4.8 solution works, the .NET Core version does not.

Edited by J.C.A. Kokenberg
0
Comment actions Permalink

They just want the dumps to look through, it wasn't a troubleshooting step. I have been in contact with them this morning. Hopefully soon they will provide me with some troubleshooting steps, which I'll post here if they are successful.

Thanks.

0
Comment actions Permalink

For all you lost souls who Google and come across this page.

In case the usual things suggested here don't work (clearing all cache possible), look inside your .sln file.

In my case, a bad git merge resulted in <<<<< HEAD and ===== and >>>>> lines and such. Apparently, Visual Studio deals with it quietly, but it causes Resharper to not "see" your real projects and files.

Once resolved, ReSharper functionality on the solution was working again.

I think I'll also open a ticket for ReSharper to improve visibility of such a case.

0
Comment actions Permalink

So any progress here guys?
My solution is a red sea!

And now I'm addicted and don't know how to code anymore without R#!

0
Comment actions Permalink

I tried everything here but still doesn't work me. it hangs at "processing source file"i am using VS 2013 Update 4 with Resharper 9.

 

 

0
Comment actions Permalink

I am having the same issue with most of my solutions for VS2013 & VS2015. I have removed all folders, uninstalled & reinstalled with no luck. Any one else figure this out yet?

Thank you.

0
Comment actions Permalink

Chorny N Thanks, that was it.

0
Comment actions Permalink

Praveen, the link you provide is broken.

0
Comment actions Permalink
I had the same issue. I thought it was because I'd just upgraded from Reshaper 9 to 10 but it turned out to be related to a separate issue. I had removed the Microsoft.TypeScript.targets import from my build file (since we're using Gulp to compile typescript, I figured this was unecessary - we were building the typescript twice)... and, for the builds, that was true. However it appears Resharper intellisense breaks if you remove this build target. The compromise/fix in my case was to add a second condition to the build target so that it only gets imported in Debug (that way at least VS won't try to compile the typescript when building Staging/Release builds on our CI server): It's possible then that some of you here are having issues because your projects don't import Microsoft.TypeScript.targets... I'm not sure how likely that is though (mine is a pretty specific situation, I'm guessing).
0
Comment actions Permalink

Don't know why. I can navigate to that link.

Discard everything from ? to the end in the link and try.

http://resharper-support.jetbrains.com/hc/en-us/requests/22602

Thanks!

0
Comment actions Permalink

Praveen,
They had me do the same thing but like you I can't send the whole solution, we have 31 projects on our framework. I sent them 1-9 instead and most of the System References are returning false for the Show VS References dump but resolved on the Target framework scopes.

Target Scope:
Resolve Map, 31 total:
mscorlib -> [mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll]

VS References:
System
4.0.0.0
False
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.dll

System.Configuration
4.0.0.0
False
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Configuration.dll

System.Core
4.0.0.0
False
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Core.dll

mscorlib
4.0.0.0
False
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll

Thanks.

0
Comment actions Permalink

Adding my thanks to Omar for solving this for me as well.

As with Omar I only had the issue on a single solution with all others working fine. Switching to a solution folder cache solved it.

I tried plenty of different fixes, e.g. clearing the cache from VS (2015), deleting the cache folder manually, deleting the .suo.

Thanks Omar. My investment in this product is not wasted..!!

Aaron.

0
Comment actions Permalink

I'm waiting for a response from JetBrains. I sent them the dumps they asked for so now is a waiting game.

Thanks.

0
Comment actions Permalink

I have also the same issue. You have to "Reset all Settings" for Visual Studio and Resharper

1) Tools import and Export Settings Wizard => Reset All Settings

2) Extensions => Resharper => Manage Options => Reset All Settings

 

Restart Visual Shitudio.

 

Make sure you are using intellisense from Resharper in the Options.

 

 

 

0
Comment actions Permalink

Thanks Omar! Changing the location of cache to 'Solution folder' helped.

0
Comment actions Permalink

This article doesnt solve the problem.  I've had intellesense stop working randomly fore a long time with no solution and they pointed me to here.  Solution so far is to remove resharper.

Edited by Mstillwater
0
Comment actions Permalink

Thank you to James Crosswell, his posting helped me.

0
Comment actions Permalink
 
Adding my thanks to Martin Malar and Omar Venturi Take note Support. Dave
0
Comment actions Permalink

I have the same problem, and like Omar, would like to share a similar solution.

TLDR

Rename the like-named solution folder in this dir, I just added ".bak" to mine (in case I needed to get back to before)

C:\Users\Your.Name\AppData\Local\JetBrains\Transient\ReSharperPlatformVs14\v03\SolutionCaches

Then after restarting VS, you SHOULD (I hope) be back to coding again.

Dev Details

I was trying out Resharper 10, got near end of trial and needed to go back to company std 9.2. Uninstalled 10, installed 9, cool. Open VS, good, open sln.......loading.....Processing Assemblies............ and........ and............ click window.....You know the rest.

Like others, I went to the options and clicked the last option, found out where Resharper is keeping the cache, renamed it, restated vs, loaded sln and good to go.

I hope this helps someone else out.

0
Comment actions Permalink

I was having an odd situation where "Run All Tests for Solution" (^UL) would fail, but it would open the Unit Test Sessions window with a session for all of the solution tests.  Oddly even though it failed, clicking on "Run All Tests" with the solution tests in a session would work!

With VS 2013 Update 3 and Reshaper 8.2, removing the .suo files as suggested solved this problem.  Thanks!

0
Comment actions Permalink

:-(

 

I'm using VS 2017 Community and R# 2017 1.3 on Windows 10 which worked perfectly fine few days ago. And now just for 1 solution it wont R# won't work.  I have tried everything in this post. Cleared caches and changed cache locations 4 times. I can do without R# for the time being as it is hampering my progress. R# is supposed to speed this up not bring it to a near halt. >:-(

 

What else should I try?

0

Please sign in to leave a comment.

Have more questions?

Submit a request