Rider is running/debugging an old build

You have made some changes but Rider sticks to an old build? First of all, have a look at your Run/Debug Configuration and make sure that "Build project before run" is added to the list of actions to be performed before the launch:

In case it is there then please let us know about the problem. Here are the troubleshooting steps:

1. Go to 'Rider -> Settings/Preferences -> Build, Execution, Deployment -> Toolset and Build'.

2. Check which MSBuild version is used. Does it lays in .Net SDK or in Visual Studio folder? 

 3. Is "Use ReSharper build" checkbox turned on?

 4. Turn on "Write log to file" checkbox and choose "Normal" verbosity. IMPORTANT: don't forget to turn off this checkbox when you collect all the logs. 

5. Close Settings dialog.

6. In case you are on Mac/Linux then check your Mono version.

7. In case you have .Net Core project then check your .Net Core version.

8. Make some changes in the code and run your project.

9. Make some changes in the code again and build solution via the menu on the top.


10. Make some changes in the code one more time and build selected project via Solution Explorer.

11. Go to 'Help -> Show Log in Explorer/Finder/File Manager'.

12. Zip all the log files in the folder and attach it to Support request or Youtrack ticket.

13. Turn off "Write log to file" checkbox (see step 2). 

That is it - we will analyze the log files and see why the project doesn't run correctly. Thank you for your cooperation!


3 out of 23 found this helpful

Piotr Kolodziej for me the issue disappeared when I fully cleaned all jetbrains installations, corresponding application data, caches and reinstalled from scratch. 


Update: I am still having those issues after all.


Another issue with the "Build Project" setting is it doesn't seem to be observed when the "Store as Project File" option is selected. The correct value is present in the project file, but after pulling in updates on a colleague's machine, the "Build project" setting still had to be manually configured.

Edited by Ryan Haney

This problem has been bothering me as well. I find myself stopping my debugging session, cleaning and restarting my debugging session. If I don't clean in-between, my new code is not pulled in. When I forget to go through this process I chastise myself for not remembering to clean. It's a real time-suck. Ideally, I should be able to hit the restart button to stop-build-run in one go with all current changes incorporated.

For me, uninstalling and re-installing is not ideal. There are many people experiencing this issue and the source of the problem needs to be discovered and fixed. This issue has survived many upgrades.

That being said, I think I've found a solution.

Dave Cousineau had mentioned a scenario that I'll quote here:

Library A (root)

Library B (references A)

Program (references B)

be up to date

make changes to Library A

run Program

Library A builds, but Program does not build

Program runs without having rebuilt or received updated LibraryA.dll

If we look at the auto-generated run configuration for "Program" and edit the "build project" entry, we see something like this:

Setting this entry to "Program" instead of the default "Selected Project" seems to produce the desired behavior. Is there a bug with the "Selected Project" default setting?

Edited by Ryan Haney

I am very close to cancelling all my Jetbrains subscriptions. Rider is completely unusable to me, I've wasted so much time because of this issue.


Not sure how related this is, but this is the best place I've found after much Googling.

I have what looks to be the same issue, but when using Resharper as part of Visual Studio.
I've enabled Resharper Build and if I just hit Debug > Start then it will correctly build whatever projects require building, but then doesn't use the artifacts produced for the debugging session. I've verified this by adding / removing various statements and that no breakpoints are hit because the executing code is different from the source.

Visual Studio 2019 Professional, 16.7.2

Resharper 2020.2.1


Please sign in to leave a comment.

Have more questions?

Submit a request