NCrunch encountered an error while trying to construct an environment to execute this test: 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/documentation/troubleshooting_process-terminated-unexpected-error
at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise()
at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost)
at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName)
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.(EffectiveProcessorArchitecture , ProcessLoadParameters , Boolean )
The trace output for the process is as follows:
Error:
An assembly specified in the application dependencies manifest (nCrunch.TaskRunner.DotNetCore.20.x64.deps.json) was not found:
package: 'Ben.Demystifier', version: '0.1.2'
path: 'lib/netstandard2.0/Ben.Demystifier.dll'
My project looks like this:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>Internal.OSS.AdoAdapterCoreTests</AssemblyName>
<RootNamespace>Internal.OSS.AdoAdapterCoreTests</RootNamespace>
<NoWarn>NU1605</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="HtmlAgilityPack" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.VisualStudio.Services.Client" />
<PackageReference Include="Microsoft.VisualStudio.Services.Governance.Client" />
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient" />
<PackageReference Include="Microsoft.VisualStudio.Services.Release.Client" />
<PackageReference Include="Microsoft.VisualStudio.Services.ServiceHooks.WebApi" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="NSubstitute" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\dev\Common\src\AdoAdapterCore\AdoAdapterCore.csproj" />
<ProjectReference Include="..\..\..\..\dev\Common\src\Logger\GenericLogger.csproj" />
<ProjectReference Include="..\..\..\..\dev\Common\src\SecureStringUtils\SecureStringUtils.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="AdoAdapterFactoryTests.cs" />
<Compile Include="AdoAdapterTests.cs" />
<Compile Include="Proxy\GraphHttpClientProxyTests.cs" />
<Compile Include="Proxy\IdentityHttpClientProxyTests.cs" />
<Compile Include="Proxy\ProxyTestBase.cs" />
<Compile Include="Throttling\ConcurrentRequestLimiterTests.cs" />
<Compile Include="Throttling\ExecuteWithRetriesExecutorTests.cs" />
<Compile Include="Throttling\ExecuteWithRetriesFactoryTests.cs" />
<Compile Include="Throttling\ServiceThrottlingStatusTests.cs" />
<Compile Include="Throttling\ThrottlingConfigurationTests.cs" />
<Compile Include="Throttling\VsoTraceEventTests.cs" />
<Compile Include="Throttling\VstsRequestExecutorFactoryTests.cs" />
<Compile Include="Throttling\VstsRequestExecutorTests.cs" />
</ItemGroup>
</Project>