NCrunch requires .NET 6 to be installed when working under Rider. I'm not sure how reliable the message prompts for installing this are, but downloading the SDK and installing it manually should definitely solve this.
aledmorris2;18205 wrote:
Just now (5 hours after that) the NCrunch process went rogue and used my entire RAM, making Rider unresponsive. I killed the process from task manager, restarted Rider, and then it prompted me to download the .NET runtime again. The 6.0.36 folder in C:\Program Files\dotnet\shared\Microsoft.NETCore.App is now missing.
I've never seen this problem before. I would suggest setting up your windows security so that no running application has the ability to modify or remove files in the SDK install path. In theory, this should cause whatever code is responsible for its deletion to throw an exception so we can discover where it is.
If you can submit an NCrunch bug report while your solution is open and running, I will then examine the report to see if you have any settings that might contribute to this.
Please also check any virus scanners or security software you have running. It's possible they might be flagging a false positive and putting files in quarantine.
When NCrunch used all your memory, was this caused by the engine process itself? Or was there a runner EXE or satellite process that was responsible?
Could you also check your Windows Event Viewer to see if there's anything interesting in there around the time the SDK disappeared?