Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

"NCrunch was unable to resolve dependency data for its own assemblies under your chosen framework"
rwv37
#1 Posted : Monday, November 1, 2021 5:14:38 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/1/2019(UTC)
Posts: 11
Location: United States of America

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

Quote:
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.
Remco
#2 Posted : Monday, November 1, 2021 7:39:48 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
rwv37;15765 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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download