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

Notification

Icon
Error

.net 10 + xunit 3 + visual studio insiders fails with .net 3.5 error
erwinvandervalk
#1 Posted : Tuesday, October 14, 2025 10:53:35 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/23/2019(UTC)
Posts: 16
Location: Netherlands

Thanks: 3 times
Was thanked: 4 time(s) in 4 post(s)
Hi,

I'm using ncrunch with .net 10 and visual studio insiders. (not sure if this is already supported).

I get the following error:


WARNING - NCrunch: This project has been built with MSBuild for VS2026 because MSBuild for VS2022 was not found on this server. Some build tasks may fail when not executed using the correct version.

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: System.Exception: The requested version of the .NET framework, 'Framework3_5' is not installed on this system
at nCrunch.Core.ProcessManagement.DefaultProcessLoader.GetProcessExeFile(DotNetClassicFrameworkVersion frameworkVersion, EffectiveProcessorArchitecture processorArchitecture, String exeTitle)
at nCrunch.Core.ProcessManagement.DefaultProcessLoader.GetProcessExeFileUsingLoadParameters(ProcessLoadParameters parameters)
at nCrunch.Core.ProcessManagement.DefaultProcessLoader.LoadProcess(ProcessLoadParameters parameters, Int32 ownerProcessId, String callbackUri, String externalProcessId, Boolean redirectOutput)
at nCrunch.Core.ProcessManagement.ExternalProcessManager.<>c__DisplayClass15_0.<launchProcess>b__0()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.ProcessManagement.ExternalProcessManager.launchProcess(EffectiveProcessorArchitecture processorArchitecture, ProcessLoadParameters parameters, Boolean forceRedirectOutput)
at nCrunch.Core.ProcessManagement.ExternalProcessManager.launchProcessWithRetry(EffectiveProcessorArchitecture processorArchitecture, ProcessLoadParameters parameters)
at nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
at nCrunch.Core.TestManagement.TestRunnerProcess.<>c__DisplayClass12_0.<createProcessReturningProcessId>b__0()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.TestManagement.TestRunnerProcess.createProcessReturningProcessId(Nullable`1 newProcessTag, FilePath solutionFilePath, GridClientId client, CustomVariable[] customEnvironmentVariables, DirectoryPath rdiSnapshotStoragePath)
at nCrunch.Core.TestManagement.TestRunnerProcess.<>c__DisplayClass11_0.<LoadTestRunnerProcessForProjectReturningProcessId>b__2()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.TestManagement.TestRunnerProcess.LoadTestRunnerProcessForProjectReturningProcessId(SnapshotComponent snapshotComponent, FlattenedComponentDependencies componentsInProcess, TestFrameworkDescription[] testingFrameworks, Nullable`1 newProcessTag, FilePath solutionFilePath, GridClientId client, CustomVariable[] customEnvironmentVariables, IRdiSplitSnapshot rdiSnapshot)
at nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()


I have a minimal repro (new xunitv3 project + .net 10).
Remco
#2 Posted : Tuesday, October 14, 2025 11:17:47 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 998 times
Was thanked: 1344 time(s) in 1247 post(s)
Hi, thanks for sharing this.

NCrunch does support VS2026 (in a preview state), but work for .NET 10 is still in progress. Probably it will be out with the next version of NCrunch.
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.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download