ReSharper 2024.3 Help

Configure caches

To ensure an acceptable speed, ReSharper caches the project model, which it gets when analyzing your solution. Cached data are stored separately for each solution. Therefore, when you open a new solution for the first time, the analysis can take some, but all subsequent times you open the solution, ReSharper just reads the cached data, which normally happens very quickly.

Depending on your system configuration, you may prefer different locations to store cache files.

Location of caches

Specify the location for caches

  1. Select ReSharper | Options from the main menu or press Alt+R O, then choose Environment | General on the left.

  2. Use the Save solution caches in to select the location for cache files:

    • User local settings folder to store them in the following directory: %LOCALAPPDATA%\JetBrains\Transient

    • 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

    • Custom folder to choose a custom location for ReSharper cache files.

  3. Click Save in the Options dialog to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer by choosing this layer from the Save To selector. For more information, see manage and share resharper settings.

  4. Reopen your solution for the changes to take effect.

If your solution is under version control or you plan to put it there, it is better to choose either System TEMP folder or User local settings folder. It lets you exclude caches from the solution folder and keep them separately from source code, so that they cannot be committed into your 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.

Clean up caches

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, clearing caches for the current solution could help in most cases.

  1. Open the solution with supposedly broken caches in Visual Studio.

  2. Select ReSharper | Options from the main menu or press Alt+R O, then choose Environment | General on the left.

  3. Click Clear caches. Note that the caches will be only cleaned in the currently selected cache location.

  4. Reopen your solution for the changes to take effect.

ReSharper also cleans up solution caches automatically if a specific solution was not open for more than 30 days.

Last modified: 11 February 2024