On my home machine I just installed the Console Tool which runs the tests in our build system. At work I use the same setup and it works fine there. However here on this machine it fails:
Launched command : cmd.exe /X /C ""C:\Program Files (x86)\Remco Software\NCrunch Console Tool\NCrunch.exe" C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic-AMIS-Internal.2015.sln /O C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\target\Results"
NCrunch Console Tool v3.11.0.9
Copyright ¸ 2010-2017 Remco Software Ltd
Usage of this tool is permitted only under the terms described in License.rtf
This product is licensed to ********* (support/maintenance expires 29-Sep-2018)
[21:24:38.3817-?-1] Initialising UI Services
[21:24:38.4328-?-1] NCrunch Services Initialised
[21:24:38.4833-?-1] Publishing Event: [EngineModeSwitchedInUIEvent:Run all tests automatically [Global]]
[21:24:38.4848-?-1] Event [EngineModeSwitchedInUIEvent:Run all tests automatically [Global]] is being published on thread CoreThread to subscriber: ClientSettingsBlock.
[21:24:38.4918-?-1] Publishing Event: [EngineModesChangedEvent]
[21:24:38.4953-Core-4] Event [EngineModeSwitchedInUIEvent:Run all tests automatically [Global]] is being processed on Core thread with subscriber: ClientSettingsBlock.
[21:24:39.0092-Core-7] Loading NCrunch modules
[21:24:39.0132-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\Gallio\nCrunch.Module.Gallio.crunchmodule
[21:24:39.0207-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\MSpec\nCrunch.Module.MSpec.crunchmodule
[21:24:39.0232-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\MSTest\nCrunch.Module.MSTest.crunchmodule
[21:24:39.0247-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\NUnit\nCrunch.Module.NUnit.crunchmodule
[21:24:39.0272-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\NUnit3\nCrunch.Module.NUnit3.crunchmodule
[21:24:39.0312-Core-7] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Console Tool\Modules\XUnit2\nCrunch.Module.XUnit2.crunchmodule
[21:24:40.5883-Core-7] Framework description manager has loaded data for 6 test frameworks
[21:24:40.6559-InitialisationQueueTask-16] Auto restoring NuGet packages for 'C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic.AMIS.Internal.Schema.UnitTests\Classic.AMIS.Internal.Schema.UnitTests.csproj'
[21:24:40.6559-InitialisationQueueTask-14] Auto restoring NuGet packages for 'C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic.AMIS.Internal.DemoClient\Classic.AMIS.Internal.DemoClient.csproj'
[21:24:40.6559-InitialisationQueueTask-15] Auto restoring NuGet packages for 'C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic.AMIS.Internal.Schema\Classic.AMIS.Internal.Schema.csproj'
[21:24:40.6569-InitialisationQueueTask-18] Auto restoring NuGet packages for 'C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic.AMIS.Internal.Service\Classic.AMIS.Internal.Service.csproj'
[21:24:40.6639-InitialisationQueueTask-16] ERROR (Internal): System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at nCrunch.Core.PlatformTypes.DotNetCoreSdk.TryRestoreReturningFailure(FilePath projectFilePath, VisualStudioVersion vsVersion)
at nCrunch.Client.ComponentLoader.AutoNugetRestoreMode.RestorePackages(FilePath projectFilePath, VisualStudioVersion vsVersion)
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.CreateComponentsFromXml(FilePath projectFilePath, BuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion)
at nCrunch.Client.Initialisation.ProjectLoadInitTask.Run()
Any idea what is wrong? I tried repairing and reinstalling the Console Tool and restarting the machine but that did not help.
The C:\Program Files (x86)\Remco Software\NCrunch Console Tool directory contains the nCrunch.TaskRunner*.x*.exe files which I saw in another forum topic might be missing. Dunno if I have all of them, but it looks pretty complete, I've got 18 of them.