Which seems that it builds with the .net core 2.0 SDK. I don't know if this is the desired behavior. The error is about a change in the .csproj
file, which I can fix (if i do this, the project get's build, seems a 2.0 Breaking Change). But the point may be that the 2.0 SDK is used instead of the 1.0.4 SDK.
2. For every Tests assembly I get an Analysis Failure
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
bei nCrunch.Core.ProcessManagement.ExternalProcessManager.(ProcessorArchitecture , ProcessLoadParameters )
bei nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
bei nCrunch.Core.TestManagement.TestRunnerProcess..()
bei nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
bei nCrunch.Core.TestManagement.TestRunnerProcess.(Nullable`1 , FilePath , GridClientId , CustomEnvironmentVariable[] )
bei nCrunch.Core.TestManagement.TestRunnerProcess..()
bei nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
bei nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()
I will send you a Log which i copied from the output window.
I also udpated to NCrunch 3.10.0.6 (from 3.9), the problem remains.
This is a known problem at the moment. NCrunch support doesn't include the VS2017 preview builds right now, as MS are making changes to the dependency system in there. I'll be extending support closer to RTM as time allows.
I am trying to run against a test assembly using .net core 2.0 - and i also get a similar issue - using NCrunch 3.0.10.20
NCrunch: This project was built on server '(local)'
NCrunch: The tests in this project were discovered on server '(local)'
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()
Thanks for sharing this. There's a range of dependency related issues that have suddenly appeared in .NET Core environments with the latest VS release. It looks like a whole range of changes were introduced in 2017.3 at the last minute. I've been working to try and track these down.
Would you be able to submit a bug report after you've had this happen to you? The log in the report may give some more detailed information about why the process was terminated and which dependency is missing.