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

70 out of 158 found this helpful
49 comments

Fixed the issue with ReSharper 8.2 and VS 2013 Update 2.

0

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

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

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

1

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

This started happening for me in VS2013 latest versions of all. Only one simple cs class file has ReSharper completely disabled. All other documents work. Simply trying to generate constructors from properties... REALLY FRUSTRATING!!!

0

I'm same as above! One .cs file has no R#. All the .aspx.cs files work great. Stinks!

0

I have vs2013 with Resharper 8.2. Solution fails to build, really sad that it is decreasing my productivity. Come on give (demanding here as it very common all my team ) me a fix.(or give me upgrade license to 9.0, if you have fixed in 9)

0

I couldn't find any folder with name resharper.

I have deleted .suo file and cleared the caches and restarted the VS.

Still the issue persists. I use 9.2 in VS2012. this is happening only for one solution not for others. This is my first resharper use instead of increasing productivity it is increasing frustrations.

Kindly suggest a resolution. Please

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

No luck yet. I have opened another thread for this issue in the below link,

http://resharper-support.jetbrains.com/hc/en-us/requests/22602?flash_digest=61a66e568162dcafb01991121b0550f13249831c

This link has their latest response but I haven't tried yet. If you able to try and get the solution kindly let me know.

Thanks!

0

Praveen, the link you provide is broken.

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

Already tried that. Doesn't work.

0

Hi

They wanted the whole solution to validate but I cannot send that.

Before that they asked me for the dumps by performing the below steps,

We need whole solution which will demonstrate us the issue to debug it directly on our side.

But before sending the solution let's try to collect some debug info:
1) Run Visual Studio with "/ReSharper.Internal" key to run R# in debug mode;
2) Open the problem solution;
3) Open any code file from the project;

4) Hit Alt+Enter shortcut in any place in the file;
5) Type "Dump Project's Target Framework Scopes";
6) Save such file as "Dump Project's Target Framework Scopes {Project Name}.txt";
7) Hit Alt+Enter shortcut in any place in the file;
8) Type "Show VS References given to project";
9) Save such file as "Show VS References given to project {Project Name}.txt";

10) In "Dump Project's Target Framework Scopes {Problem Project Name}.txt" file, find all "ReferencedProjectName" items, open a file from each project mentioned in all "ReferencedProjectName" items one by one, execute steps 4-9;
11) In any file, hit Alt+Enter and type "Dump Project Model" and save the result file as "Dump Project Model.txt";

They want the dumps to be sent to ReSharper.

Try to perform the above in your erroneous sln and let us know result.

Thank you.

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

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

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

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'm waiting for a response from JetBrains. I sent them the dumps they asked for so now is a waiting game.

Thanks.

0

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
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

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

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

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
 
Adding my thanks to
Martin Malar and Omar Venturi
Take note Support.
Dave
0

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
Avatar
Rennie Petersen

Thank you to James Crosswell, his posting helped me.

0

Omar Venturi - Your suggestion worked a treat! Thank you.

0

Thanks. The clear-cache step fixed it for me using RS Ultimate 2016.3.2 on VS Enterprise 2017 RC 15.0.26206.0 D15REL.

 

0

Please sign in to leave a comment.

Have more questions?

Submit a request