Daily Usage Issues

"NCrunch was unable to resolve dependency data for its own assemblies under your chosen framework"

Started by rwv37 on 2,148 views

NCrunch seems to be working fine, in that it runs tests, reports the results, marks coverage, etc., but this warning message is always present:

NCrunch was unable to resolve dependency data for its own assemblies under your chosen framework. It is possible that the version of NCrunch you are using does not have support for this framework, or otherwise there may be another problem present on your system. NCrunch will fall back to using pre-packaged dependency data which may or may not be compatible with your chosen framework. This may result in dependency resolution problems inside your test environments.

Details for this problem are below:

The msbuild command returned exit code 1: "c:\program files (x86)\microsoft visual studio\2019\community\MSBuild\Current\Bin\msbuild.exe" /t:Restore nCrunch.Module.XUnit2.DotNetCore.csproj


It shows up in the "NCrunch Tests" panel, associated with the solution's one and only one test project (which, as mentioned, NCrunch seems to be handling just fine otherwise).

Is there a known solution for this? If not, is there any further information I may be able to provide that might help troubleshoot it? Thanks.
rwv37 wrote:
Is there a known solution for this? If not, is there any further information I may be able to provide that might help troubleshoot it? Thanks.


Unless you're experiencing a downstream build issue here, there's nothing for you to worry about with this message. The warning is kicked up by NCrunch when an internal package restore fails (which seems to happen on some systems, may be security related). Because your NCrunch is still running OK, this means you likely have newer versions of the relevant packages already installed, or otherwise the packages aren't needed because or your configuration.

Easiest option is to just ignore the warning.
This post has been deleted.
This post has been deleted.

Post a reply

Log in to reply.