Rank: Newbie
Groups: Registered
Joined: 10/3/2024(UTC) Posts: 8 Location: United Kingdom
Thanks: 5 times Was thanked: 2 time(s) in 2 post(s)
|
With Visual Studio Preview (current version: 17.14.0 Preview 6.0) and NCrunch 5.14.0.5, all projects show this error in NCrunch: Quote: System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) at nCrunch.Core.BuildManagement.ClientDotNetCoreSdkVersionSelector.OverrideDotNetCoreSdkForProcess(DotNetCoreSdkVersion dotNetCoreSdkVersion, ProcessLoadParameters parameters, IDEVersion vsVersion) at nCrunch.Core.BuildManagement.BuildProcessLauncher.(EffectiveProcessorArchitecture , BuildSystemParameters , IList`1 , FilePath , DotNetCoreSdkVersion ) at nCrunch.Core.BuildManagement.BuildProcessLauncher..() at nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , EffectiveProcessorArchitecture , GridClientId , BuildSystemParameters , IList`1 , Nullable`1 , GridClientDescription , DotNetCoreSdkVersion ) at nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariables) at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(EffectiveProcessorArchitecture , String ) at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, IDEVersion ideVersion, BuildEngineId buildEngineId, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFrameworkForMsbuild, String visibleTargetFramework)
17.14.0 Preview 6.0 comes with .NET SDK 9.0.300-preview.0.25177.5. I appreciate that you may not support preview versions, but this used to work and I've seen this error for the last few preview releases, so thought it worth raising in case the same problem may affect the release branch at some point. Do you know what might be causing this?
|