Hi,
I've tried to use Ncrunch rider plugin on sandbox console application but could not even 'start' it because Raider shows message saying 'A Critical Failure has Occured:'
Using Rider 2023.3.4
Windows 10 (compilation 19045.4170)
.NET SDKs installed:
6.0.420 [C:\Program Files\dotnet\sdk]
8.0.203 [C:\Program Files\dotnet\sdk]
When I look into the Rider log file I see below:
C:\Program Files\JetBrains\Rider\r2r\2023.3.4R\ED07083E52BE90D08259727F3D34791\windows-x64\Rider.Backend.exe --runtimeconfig C:\Program Files\JetBrains\Rider\r2r\2023.3.4R\ED07083E52BE90D08259727F3D34791\Rider.Backend.windows.runtimeconfig.json --Port=58092 --enablecpp
Warning: While cataloging the assembly "JetBrains.Debugger.Tools.MsClrProcessEnumerator.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.Platform.MsBuildTask, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.Platform.MsBuildTask, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Error resolving type System.Windows.AttachedPropertyBrowsableForTypeAttribute from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Warning: While cataloging the assembly "JetBrains.ReSharper.Features.Internal, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.EntityFramework.Runner620, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Warning: While cataloging the assembly "JetBrains.JITDebuggerLauncher, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "Rider.SqlProj.Worker, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Data.Tools.Schema.Sql, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "Rider.SqlProj.Worker, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.SqlServer.TransactSql.ScriptDom, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91".
Warning: While cataloging the assembly "Rider.SqlProj.Worker, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Data.Tools.Schema.Utilities.Sql, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "Rider.SqlProj.Worker, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Data.Tools.Utilities, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "Rider.SqlProj.Worker.Extensions, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Data.Tools.Schema.Sql, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.Common.Util, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.Platform.SDK.Helper, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "JetBrains.Platform.SDK.MsBuild, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325", could not load the assembly reference named "Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Warning: While cataloging the assembly "EasyHook, Version=2.7.5870.0, Culture=neutral, PublicKeyToken=4b580fca19d0b0c5", could not load the assembly reference named "System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Warning: While cataloging the assembly "nCrunch.Core, Version=5.3.0.2, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea", could not load the assembly reference named "System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Error resolving type System.Windows.DependencyObject from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.DependencyProperty from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.DependencyProperty from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.Size from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.Threading.Dispatcher from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.Size from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Error resolving type System.Windows.Point from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", request originating from assembly "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
Warning: DemoText for C# contains '
'
Warning: DemoText for XAML contains '
'
Warning: DemoText for C++ contains '
'
Warning: Primary thread didn't respond for 0.626sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=8
Warning: Primary thread didn't respond for 0.828sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=9
Warning: Primary thread didn't respond for 1.032sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=11
Warning: Primary thread didn't respond for 1.247sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=12
Warning: Primary thread didn't respond for 1.452sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=13
Warning: Primary thread didn't respond for 1.656sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 1.858sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 2.060sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 2.264sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 2.472sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 2.677sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 2.883sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 3.087sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 3.291sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 3.492sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 3.698sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 3.902sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 4.105sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 4.311sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 4.515sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=15
Warning: Primary thread didn't respond for 4.721sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=16
Warning: Primary thread didn't respond for 4.923sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=21
Warning: Primary thread didn't respond for 5.127sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=22
Warning: Primary thread didn't respond for 5.329sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=24
Warning: Add analyzer: project reference manager not found for Sandbox-solution-console-01 85ba80ce-eb69-4925-bac8-d60c0cb4c1f9
Warning: Add analyzer: project reference manager not found for TestProject1 00331783-cc00-499d-bea9-66cc0da780b8
Warning: Primary thread didn't respond for 5.531sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=35
Warning: Primary thread didn't respond for 5.732sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=44
Warning: Primary thread didn't respond for 5.947sec (CurrentTask: 'Create Solution Container Compose Task') QueueSize=82
Warning: Primary thread was unresponsive for 5.947sec
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.csproj
Warning: PersistentIndexManager was requested about missing file: Program.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.GlobalUsings.g.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.AssemblyInfo.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.GeneratedMSBuildEditorConfig.editorconfig
Warning: PersistentIndexManager was requested about missing file: analysislevel_8_default.globalconfig
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.csproj
Warning: PersistentIndexManager was requested about missing file: Program.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.GlobalUsings.g.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.AssemblyInfo.cs
Warning: PersistentIndexManager was requested about missing file: Sandbox-solution-console-01.GeneratedMSBuildEditorConfig.editorconfig
Warning: PersistentIndexManager was requested about missing file: analysislevel_8_default.globalconfig
Warning: PersistentIndexManager was requested about missing file: TestProject1.csproj
Warning: PersistentIndexManager was requested about missing file: TestProject1.GlobalUsings.g.cs
Warning: PersistentIndexManager was requested about missing file: TestProject1.AssemblyInfo.cs
Warning: PersistentIndexManager was requested about missing file: TestProject1.GeneratedMSBuildEditorConfig.editorconfig
Warning: PersistentIndexManager was requested about missing file: analysislevel_8_default.globalconfig
Warning: PersistentIndexManager was requested about missing file: UnitTest1.cs
Warning: PersistentIndexManager was requested about missing file: Microsoft.NET.Test.Sdk.Program.cs
Warning: PersistentIndexManager was requested about missing file: NUnit3.TestAdapter.dll
Warning: PersistentIndexManager was requested about missing file: NUnit3.TestAdapter.pdb
Warning: PersistentIndexManager was requested about missing file: nunit.engine.dll
Warning: PersistentIndexManager was requested about missing file: nunit.engine.api.dll
Warning: PersistentIndexManager was requested about missing file: nunit.engine.core.dll
Warning: PersistentIndexManager was requested about missing file: testcentric.engine.metadata.dll
Warning: PersistentIndexManager was requested about missing file: testhost.exe
Warning: PersistentIndexManager was requested about missing file: testhost.dll
Warning: PersistentIndexManager was requested about missing file: TestProject1.csproj
Warning: PersistentIndexManager was requested about missing file: TestProject1.GlobalUsings.g.cs
Warning: PersistentIndexManager was requested about missing file: TestProject1.AssemblyInfo.cs
Warning: PersistentIndexManager was requested about missing file: TestProject1.GeneratedMSBuildEditorConfig.editorconfig
Warning: PersistentIndexManager was requested about missing file: analysislevel_8_default.globalconfig
Warning: PersistentIndexManager was requested about missing file: UnitTest1.cs
Warning: PersistentIndexManager was requested about missing file: Microsoft.NET.Test.Sdk.Program.cs
Warning: PersistentIndexManager was requested about missing file: NUnit3.TestAdapter.dll
Warning: PersistentIndexManager was requested about missing file: NUnit3.TestAdapter.pdb
Warning: PersistentIndexManager was requested about missing file: nunit.engine.dll
Warning: PersistentIndexManager was requested about missing file: nunit.engine.api.dll
Warning: PersistentIndexManager was requested about missing file: nunit.engine.core.dll
Warning: PersistentIndexManager was requested about missing file: testcentric.engine.metadata.dll
Warning: PersistentIndexManager was requested about missing file: testhost.exe
Warning: PersistentIndexManager was requested about missing file: testhost.dll
Unhandled AppDomain exception. The NCrunch task process was unexpectedly terminated. For information on how to troubleshoot this problem, please see
https://www.ncrunch.net/...inated-unexpected-error
--- EXCEPTION #1/3 [IpcConnectionClosedException]
Message = "The NCrunch task process was unexpectedly terminated. For information on how to troubleshoot this problem, please see
https://www.ncrunch.net/...-unexpected-error"
ExceptionPath = Root.InnerException.InnerException
ClassName = nCrunch.TaskRunner.Ipc.IpcConnectionClosedException
HResult = COR_E_EXCEPTION=80131500
Source = nCrunch.TaskRunner
StackTraceString = "
at nCrunch.TaskRunner.Ipc.Fast.IpcWriter.Write(Byte* source, Int32 count) in Write.il:line IL_002E mvid 09EA or Write.il:line IL_0072 mvid 09EA
at nCrunch.TaskRunner.Ipc.Fast.IpcWriter.Write(Byte[] data, Int32 offset, Int32 count) in Write.il:line IL_002E mvid 09EA or Write.il:line IL_0072 mvid 09EA
at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Write(Byte[] buffer, Int32 offset, Int32 count) in Write.il:line IL_0000 mvid 09EA
at nCrunch.TaskRunner.Ipc.Fast.FastIpcRequestHandler.MakeRequest(Byte[] request) in MakeRequest.il:line IL_001F mvid 09EA
at nCrunch.TaskRunner.Ipc.RemoteProxyCommunicator.Invoke(String methodName, Object[] args) in Invoke.il:line IL_011B mvid 09EA
at nCrunch.RiderIntegration.RiderRemoteBootstrapProxy.IsSolutionFullyLoaded() in IsSolutionFullyLoaded.il:line IL_0000 mvid 2209
at ReSharperPlugin.NCrunchForRider.NCrunchForRider.<>c__DisplayClass2_0.<.ctor>b__0() in NCrunchForRider.il:line IL_0009 mvid 6610
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0087 mvid B342
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0087 mvid B342
"
--- Outer ---
--- EXCEPTION #2/3 [OuterWorldException]
Message = "Unhandled AppDomain exception."
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Logging.OuterWorldException
InnerException = "Exception #1 at Root.InnerException.InnerException"
HResult = COR_E_EXCEPTION=80131500
--- Outer ---
--- EXCEPTION #3/3 [LoggerException]
Message = "Unhandled AppDomain exception."
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = "Exception #2 at Root.InnerException"
HResult = COR_E_APPLICATION=80131600
StackTraceString = "
at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in Log.il:line IL_0024 mvid 3379
at JetBrains.Diagnostics.LogEx.Error(ILog this, Exception ex, String message) in Error.il:line IL_0000 mvid CC54
at JetBrains.Util.Logging.Logger.LogException(Exception ex) in LogException.il:line IL_0000 mvid 3379
at JetBrains.Application.Environment.Components.ReportUnhandledExceptions.<>c.<.ctor>b__0_0(Object _, UnhandledExceptionEventArgs args) in ReportUnhandledExceptions.il:line IL_0024 mvid DE30
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0080 mvid B342
"
Unhandled 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.IpcWriter.Write(Byte* source, Int32 count)
at nCrunch.TaskRunner.Ipc.Fast.IpcWriter.Write(Byte[] data, Int32 offset, Int32 count)
at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at nCrunch.TaskRunner.Ipc.Fast.FastIpcRequestHandler.MakeRequest(Byte[] request)
at nCrunch.TaskRunner.Ipc.RemoteProxyCommunicator.Invoke(String methodName, Object[] args)
at nCrunch.RiderIntegration.RiderRemoteBootstrapProxy.IsSolutionFullyLoaded()
at ReSharperPlugin.NCrunchForRider.NCrunchForRider.<>c__DisplayClass2_0.<.ctor>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Warning: Primary thread didn't respond for 4.101sec (CurrentTask: 'ReentrancyGuardTaskScheduler::QueueTask') QueueSize=-1