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

Notification

Icon
Error

NCrunch 5.2.0.3 throws System.NotImplementedException on F# projects
colombod
#1 Posted : Monday, March 11, 2024 11:40:23 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/27/2022(UTC)
Posts: 2
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
Using NCrunch 5.2.0.3 with Visualstudio 2022 on the .NET Interactive solution (https://github.com/dotnet/interactive) is not working (was all good on version 4)
The Microsoft.DotNet.Interactive.FSharp does not build in NCrunch
[img=https://github.com/dotnet/interactive/assets/375556/617442b0-3933-4ef6-87e9-210360d66351]Build Error[/img]

With the following stacktrace
[img=https://github.com/dotnet/interactive/assets/375556/d1dd7f65-4f4f-472b-b432-e0e77fc899e3]trace[/img]
Quote:

NCrunch has encountered an internal error: System.Exception: System.NotImplementedException: The method or operation is not implemented.
at nCrunch.Compiler.Cil.Types.CilTypeReference. (CilModule )
at nCrunch.Compiler.Cil.Types.CilTypeReference.ResolveDefinition(CilModule runtimeSystemLibrary)
at nCrunch.Compiler.StaticManipulation.BuiltCilAssembly.IdentifyRdiTypeHandlingStrategies()
at nCrunch.Compiler.RuntimeDataInspection.RdiTypeHandlingStrategyIdentificationTask..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Compiler.RuntimeDataInspection.RdiTypeHandlingStrategyIdentificationTask.ProcessTask(IBuiltAssembly builtAssembly, ComponentInstrumentationParameters instrumentationParameters, BuildOutput output)
at nCrunch.Compiler.CilProcessingTasks.ConcurrentCilTaskProcessor.()
at nCrunch.Compiler.CilProcessingTasks.ConcurrentCilTaskProcessor.ProcessTasks(Int32 backgroundThreadsAllowed)
at nCrunch.Compiler.RemoteBuildRunner.(ComponentInstrumentationParameters , BuildOutput , IBackgroundTaskProcessor )
at nCrunch.Compiler.RemoteBuildRunner.PerformPostProcessingOfBuiltAssembly(ComponentInstrumentationParameters instrumentationParameters, BuildOutput output, IBackgroundTaskProcessor backgroundTaskProcessor)
at nCrunch.Core.BuildManagement.BuildEnvironment..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.BuildManagement.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents, GridClientId gridClientId, IList`1 customEnvironmentVariables, IPlatformBuildExtender extender, Guid taskId, GridClientDescription clientDescription, Boolean extractCoverageReportStructure)

Remco
#2 Posted : Tuesday, March 12, 2024 5:45:05 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,981

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Could you try the new version published just today?
colombod
#3 Posted : Tuesday, March 12, 2024 12:54:42 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/27/2022(UTC)
Posts: 2
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
Thank you, the new version seems to build my solution fine and run all tests.
1 user thanked colombod for this useful post.
Remco on 3/12/2024(UTC)
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.034 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download