Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Build issue - NCrunch halts on failure
eskil
#1 Posted : Wednesday, March 7, 2012 10:03:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 1
Location: Australia

I've upgraded from v1.37b to 1.38b and I am getting the following build failure in the processing queue. It happens for one project in the solution. There are no dependencies on this project, but the build processing stops completely after this error. I've tried deleting the NCrunch cache, disabling and re-enabling NCrunch, but the issue persists.

[08:50:00.7604-BuildTask-146] 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.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents)
at nCrunch.Core.BuildTask.DoProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.ProcessingTask.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.ProcessingQueue.#=q_vrMx4Vpdr8SHIA907gDpw==(ProcessingTask #=qnFdWWU2KDBGY_Tb0$G9s3A==)
Remco
#2 Posted : Wednesday, March 7, 2012 10:35:01 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,141

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
I had some early reports of this problem coming in shortly after 1.38b went public. It was caused by a change made to the analysis method NCrunch uses for establishing project references. Because it was a fairly simple thing to fix, I introduced a separate revision of 1.38b (1.38.0.17) a few hours later with the fix included. Try downloading the latest version and see if this fixes the problem for you.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download