Build/Test Issues

How to resolved reference to nCrunch.TestRuntime.DotNetCore error during build

Started by soadyp on 3,293 views

Error message

c:\program files (x86)\microsoft visual studio\2017\professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets: Can not resolve reference: `nCrunch.TestRuntime.DotNetCore`, referenced by `OxandoXPC.Core`. Please add a NuGet package or assembly reference for `nCrunch.TestRuntime.DotNetCore`, or remove the reference to `OxandoXPC.Core`.
c:\program files (x86)\microsoft visual studio\2017\professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets: Can not resolve reference: `OxandoXPC.DAL`, referenced by `OxandoXPC`. Please add a NuGet package or assembly reference for `OxandoXPC.DAL`, or remove the reference to `OxandoXPC`.
c:\program files (x86)\microsoft visual studio\2017\professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets: Can not resolve reference: `nCrunch.TestRuntime.DotNetCore`, referenced by `OxandoXPC.UIR`. Please add a NuGet package or assembly reference for `nCrunch.TestRuntime.DotNetCore`, or remove the reference to `OxandoXPC.UIR`.


I cant find this nuget package to add as reference.
The Msbuild commandline for the project works.

The option Copy referenced assemblies to workspace did not help.
How do you add a reference to ncrunch. It doesnt appear as a GAC registered tool.
This only happening in one Project of 9 in a solution.

The suggestions here http://www.ncrunch.net/documentation/troubleshooting_project-build-issues arent clear to me how they help.

Edited

Hi, thanks for posting.

I'm sorry to say that Xamarin (and thus Android) are not in the list of platforms currently supported by NCrunch.

Presently no work has been done to ensure Xamarin build targets will function currently when executed by NCrunch at build time, and no investment has been made on preparing any test environment compatible with this platform.

If you'd like to see support added for Xamarin, you're most welcome to vote for it on uservoice.

Post a reply

Log in to reply.