Hello,
It seems ncrunch can no longer build one of my projects.
The solution seems to build fine in VS2017 on my machine and on the TeamCity machine.
So I don't think there are any broken references as the exception seems to suggest.
Ncrunch reports this exception while loading the project :
Quote:System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> nCrunch.Common.UserException: Errors occurred while trying to load the project file:
Could not resolve COM reference "eab22ac0-30c1-11cf-a7eb-0000c05bae0b" version 1.1. Une exception a été levée par l'initialiseur de type pour 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer'.
à nCrunch.Compiler.RemoteBuildRunner.(FilePath , LoadTimeQuery , String , String , DirectoryPath , String , String )
à nCrunch.Compiler.RemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters)
--- Fin de la trace de la pile d'exception interne ---
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à nCrunch.TaskRunner.Ipc.IpcMessageProcessor.(CallMethodMessage )
à nCrunch.TaskRunner.Ipc.IpcMessageProcessor.ProcessMessageReturningResult(Byte[] data)
à nCrunch.TaskRunner.Ipc.RemoteInstance.(Byte[] )
à nCrunch.TaskRunner.Ipc.RemoteInstance.Invoke(IMessage msg)
à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
à nCrunch.Compiler.IRemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters)
à nCrunch.Core.BuildManagement.BuildProcessLauncher..(IRemoteBuildRunner )
à nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , FilePath , String , ExternalProcess )
à nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , ProcessorArchitecture , GridClientId , BuildSystemParameters , IList`1 )
à nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariables)
à nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(ProcessorArchitecture , String )
à nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFramework)
I'm not sure if it's related to the last update of VS2017 (the problem seems to have appeared after the update).
The version of VS2017 is v15.5.6.
Ncrunch version is 3.11.0.9.
Does someone have any idea of what may be causing this issue ?
Thanks.