Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Upgraded VS 2022 to 17.12.1 (.Net 9 support) and nCrunch now failing
oriches
#1 Posted : Thursday, November 28, 2024 9:40:11 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/15/2012(UTC)
Posts: 14
Location: United Kingdom

Thanks: 3 times
Been using for nCrunch with .Net 8 WPF based apps perfectly fine, and now getting the following issue, .Net 9.0 runtime & SDK are installed.

Any ideas?

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.[1](EffectiveProcessorArchitecture [1], ProcessLoadParameters
, Boolean )

The trace output for the process is as follows:

You must install or update .NET to run this application.

App: C:\ ...\AppData\Local\NCrunch\55788\14\...\bin\Debug\net8.0-windows10.0.19041.0\nCrunch.TaskRunner.DotNetCore.20.x64.dll

Architecture: x64
Framework: 'Microsoft.Windows.SDK.NET.Ref.Windows', version '10.0.19041.54' (x64)

.NET location: C:\Program Files\dotnet\
No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-co...rid=win-x64&os=win10
Remco
#2 Posted : Thursday, November 28, 2024 12:19:25 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,150

Thanks: 961 times
Was thanked: 1294 time(s) in 1200 post(s)
Hi, thanks for sharing this issue.

Could you check if the build published here resolves this issue for you?
1 user thanked Remco for this useful post.
oriches on 11/28/2024(UTC)
oriches
#3 Posted : Thursday, November 28, 2024 1:15:34 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/15/2012(UTC)
Posts: 14
Location: United Kingdom

Thanks: 3 times
Builds & runs the tests with this build.

Thanks
Ollie
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download