Hi,
I'm evaluating NCrunch for a number of F# projects I am working on. I've let NCrunch work over a small solution and it builds a number of the dlls successfully but for a small number they fail to build with the following exception
[17:04:14.1933-LocalBuildTask-34] ERROR (Internal): System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at nCrunch.Core.BuildManagement.ReferencedAssemblySet.AdjustAssemblyReferencesUsingReferencesOutputFromBuild(FilePath[] assembliesUsedByBuild)
at nCrunch.Core.BuildManagement.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents, GridClientId gridClientId, CustomEnvironmentVariable[] customEnvironmentVariables)
at nCrunch.Core.Processing.BuildTaskLogic.DoProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.TaskLogic.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Client.Processing.LocalProcessingTask.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Client.Processing.ProcessingQueue.#=q_vyIzYQsi20eEpIpxNwCkQ==(LocalProcessingTask #=ql59clHcEc0_22CWMfMeExQ==)
It's not immediately obvious to me what might be wrong - the same projects all build fine in Visual Studio (I'm using VS2010) and via MSBuild.
Any idea how I can get more information / debug output on the underlying problem so I can try and work out how I need to tweak my project?
Thanks!
Adam