ReSharper 8.0 Web Help

ReSharper caches certain information about source code and structure of your solution. That helps decrease the time of solution load, greatly speeds up most of ReSharper features. So it's important not to delete this information accidentally. You can choose one of three locations where caches can be stored.

To specify the location for caches
  1. On the main menu, choose ReSharper | Options. The Options dialog box opens.
  2. On the left pane of the dialog box, click General.
  3. On the right pane, specify where to store caches by clicking one of the following:
    • User local settings folder to store them in the following directory: [root drive]:\Users\[user name]\AppData\Local\JetBrains\ReSharper\v[ReSharper version]\SolutionCaches
    • System TEMP folder to store them in the following directory: %TEMP%\ReSharperCache
    • Solution folder to store them in the root folder of the current solution
  4. Click Save or Save To to apply changes.

    Note

    ReSharper maintains several settings layers, so pay attention what layer you modify. For more information, see Managing and Sharing Options.

If your solution is under version control or you plan to put it there, it is better to choose either the System TEMP folder option or the User local settings folder option. It lets you exclude caches from the solution folder and keep them separately from source code, so that they can't be committed into repository by mistake.

Pay attention that system temp folder can be cleaned by some utility and all caches might get removed if you store them there.

Broken caches affect ReSharper behavior. For example, ReSharper can stop resolving symbols or some navigation commands can be unavailable. If you notice such strange behavior, clear caches just in case.

To clear caches for a solution
  1. Open the solution with supposedly broken caches in Visual Studio.
  2. On the main menu, choose ReSharper | Options. The Options dialog box opens.
  3. On the left pane of the dialog box, click General.
  4. On the right pane, click Clear caches.

Note

After changing the location or clearing the cache, you should reopen your solution for the changes to take effect.