Rank: Member
Groups: Registered
Joined: 3/12/2013(UTC) Posts: 13 Location: Norway
Was thanked: 5 time(s) in 5 post(s)
|
I'm trying to run NCrunch under Mac with Parallels and Visual Studio 17.8. None of the test projects will build because of the following error: Quote: NCrunch was unable to restore Nuget packages required to build a test environment for this solution, due to an unspecified failure when invoking 'msbuild.exe /t:restore'
The following packages do not exist under the Nuget packages folder for the active user profile, yet they have been flagged by NCrunch as potentially needed for normal operation. NCrunch has attempted to restore these files via an MSBuild restore step, which has either failed or not returned the expected result. It's possible that these packages may not be needed for building projects or running tests in your environment. If you experience downstream problems with NCrunch on this solution, it is recommended you restore or download the packages manually.
Note that the restore of packages may fail if NCrunch is being hosted under a windows account that does not have sufficient rights to store files in the Nuget packages directory.System.Threading.Thread v4.0.0
The test projects also give the following build error: Quote: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: The NCrunch task process failed to correctly initialise with the following exception: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The NCrunch task process was unexpectedly terminated. For information on how to troubleshoot this problem, please see https://www.ncrunch.net/...inated-unexpected-error
at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise() at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect() at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect() at nCrunch.Core.ProcessManagement.DefaultProcessLoader.ConnectToProcess(ExternalProcess externalProcess, ProcessLoadParameters parameters, Action`1 outOfBandMessageHandler) at nCrunch.Core.ProcessManagement.ExternalProcessManager..() at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters , Boolean ) The trace output for the process is as follows: Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'nCrunch.TaskRunner.DotNetCore.20.x64, Version=4.18.0.3, Culture=neutral, PublicKeyToken=null'. This is a MacBook with M2 Max. Hence it's running ARM Windows, which is emulating x64 for x86/x64 applications. Not sure if this is causing the issue.
|