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}\v{%version%}\" 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

69 out of 155 found this helpful
49 comments

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.

6

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

If anyone comes here I had this disabled for the one file:

Right click the pause button and resume:

And all will be working as expected.

2

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

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

1

Chorny N Thanks, that was it.

1

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

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

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

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

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

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

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

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

Something if off..

Second and third if conditions should be marked as not reachable..at first I thought that code analysis was not working and tried some of the tips, delete cache, delete cache folder, etc. But then I realized that if I add more if conditions the code analysis eventually starts kicking in, but not in all the places

 

0

Chorny N you legend! Would never have found that. Thanks

0

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

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

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

Praveen, the link you provide is broken.

0
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

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

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

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

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

Thanks.

0

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

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

0

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

For me, i had added projects to the Code Inspection -> Ignored Code -> Projects to Ignore list by accident.

Removing them fixed this issue for me.

0

Please sign in to leave a comment.

Have more questions?

Submit a request