Build/Test Issues

failing to build test project with .net core2 ncrunch v3.10 visual studio 2017

Started by ftaran on 2,864 views

I have tried the solutions suggested in the other posts about this similar issue. Although I am using Xunit rather than Nunit in my tests.

I am getting the following exception:

An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error occurred while building an environment to analyse an assembly: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed
at nCrunch.Core.ProcessManagement.ExternalProcessManager.(ProcessorArchitecture , ProcessLoadParameters )
at nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.TestManagement.TestRunnerProcess.(Nullable`1 , FilePath , GridClientId , CustomEnvironmentVariable[] )
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()
Hi,

Thanks for sharing this problem.

At the time NCrunch v3.10 was released, .NET Core v2 had not yet been formally released and is not supported by this build.

To resolve this problem, you'll need to upgrade to a later version of NCrunch. Ideally 3.12.

Post a reply

Log in to reply.