Remco;18595 wrote:There is a list of packages that NCrunch requires which it should automatically restore itself.
I think your Nuget package cache is corrupt. Try renaming the package root (with the IDE closed) to see if re-downloading the packages resolves the issue.
It's not that. I've tried clearing the nuget cache, reinstalling NCrunch and Visual Studio. The reason I'm having this issue is that I've just started out with a clean slate on a new computer and something that nCrunch needs is missing. I've done several hours worth of troubleshooting myself and I'm really struggling with this. My AI suggested that I file the following report:
NCrunch Version: 5.20.0.2
Visual Studio Version: 2026
.NET SDK: 10.0.102
NCrunch is attempting to use nCrunch.TaskRunner.DotNetCore.20.x64
for projects targeting net8.0 and net10.0, resulting in missing
assembly errors like:
package: 'System.Collections.NonGeneric', version: '4.3.0'
path: 'lib/netstandard1.3/System.Collections.NonGeneric.dll'
The same test project works correctly for net481 target.
Test project configuration:
<TargetFrameworks>net481;net8.0;net10.0</TargetFrameworks>
Note that the solution builds and runs fine in Visual Studio. It's public if you'd like to check it out and have a look at my config:
https://github.com/Tigra...lities/tree/feature/mvvm