Build/Test Issues

Build failed on ARM Windows 11

Started by tahakucuk on 1,740 views

Hi,
I installed VS 2022 preview 2 to my Windows ARM on Parallels Mac.
Then I installed the latest version of crunch 4.15.0.4.

Ncrunch failed to start on my Test project like following:

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/documentation/troubleshooting_process-terminated-unexpected-error
at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise()
at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost)
at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName)
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.BadImageFormatException: Could not load file or assembly 'C:\Users\tahakucuk\AppData\Local\NCrunch\9188\6\SemineConnect.Xledger.Tests\bin\Debug\net6.0\nCrunch.TaskRunner.DotNetCore.20.x64.dll'. An attempt was made to load a program with an incorrect format.
File name: 'C:\Users\tahakucuk\AppData\Local\NCrunch\9188\6\SemineConnect.Xledger.Tests\bin\Debug\net6.0\nCrunch.TaskRunner.DotNetCore.20.x64.dll'

My projects target Net 6.0.

The same project works seamlessly with NCrunch on x64 Windows.

Does Ncrunch support ARM Visual Studio?

Edited

Hi, thanks for posting.

Sorry, NCrunch does not support running on an ARM machine. I'll update the supported toolsets page now to show this.
Thanks for the response.
Any plans to support it on your roadmap?
Not at the moment, but if you vote for it on uservoice we can track the demand and maybe introduce it in future.

Post a reply

Log in to reply.