Rider on Debian vs VSCode - build times

Answered

Doing an evaluation of Rider to see if it is more productive than VSCode.  I swapped over to Debian for my main development machine about 5 months ago, changing out of Visual Studio 2019 and moving exclusively to VSCode.  On the whole it's been pretty good but I hear a lot about Rider so wanted to see if it was better.

Rider is able to open my projects, build them and build the Docker container I use for deployment to AWS.  However it seems to take forever to do it.  On VSCode the build takes about 20 seconds maximum.

On Rider that's more like 2-5 minutes.  I've tried it with .NET 3.1 and .NET 6.0 and they seem much the same.  Not sure if I've missed something in my setup to make it faster.  The machine is not hardware constrained (96Gb of memory and dual Xeon processors).

0
5 comments

Hello David,

Can you try disabling R# build in Preferences | Build, Execution, Deployment | Toolset and Build | Use R# Build and let me know if it helps with build speed?

 

0

Thanks Olga will give that a try.

0

Looks like disabling the Resharper build in the File->Settings->Build, Execution, Development->Toolset and build makes building my system in Rider the same as VSCode.

(aka the checkbox says "Use ReSharper Build", uncheck that.

 

Thanks again Olga, not sure why resharper is a problem on my particular machine. 

0

We are ready to investigate it further. In order to do that, please open an issue on our tracker and add information that can help with investigation, like logs. Thank you in advance!

1

Hi Olga,

I think I have resolved this.  It was a curious issue seemingly caused by one of my projects not being converted to .NET 6.

The entire solution was originally targetted at .NET 3.1, but I had since upgraded it to .NET 6 other than one dead-end project that I left on .NET 3.1 by mistake.

Fixing that one project fixed the build times for ReSharper - it's now a very similar time to the standard dotnet build.

I feel that opening an issue is probably not required now.  Thanks for your response.

1

Please sign in to leave a comment.