Must Clean Solution Before Applying Modified Code, Is Build Alone Not Sufficient?

I am using the latest version of Rider. Whenever I modify the code and immediately build and run, it applies the previous code. Therefore, I must clean the solution before building to resolve this issue. What should I do?

JetBrains Rider 2023.3.3 Build #RD-233.14015.60, built on January 19, 2024 Runtime version: 17.0.9+7-b1087.11 amd64 

1 comment


What kind of project are you working on? Can you share your csproj? Can you reproduce it with a Console App?
If you disable “Use ReSharper Build” on “Settings | Build, Execution, Deployment | Toolset and Build”, can this help?


Please sign in to leave a comment.