Hi guys
I have been using NCrunch in the beta for some time now, but after I upgraded to the new version (1.42.0.12) NCrunch does not work anymore.
When I enable NCrunch it starts loading all the projects in my solution. When it is done it lists them all in the Tests windows, and writes Load failure in the Status column for all of the projects. They load fine in Visual Studio.
When I click on one of the projects I get this stacktrace displayed:
Code:
System.InvalidOperationException: Sequence contains no matching element
Server stack trace:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at nCrunch.TestExecution.CustomTestConfig.#=q2dR8J$_BB5tkcYDs3Evi5e5_86auvg0W2I6HC9cI$sGpOffRaggYHRp4lkzp4piU()
at nCrunch.TestExecution.CustomTestConfig.#=qdY2JeKBM0ld6F9qv3TxgU8muIF$zcyQNahuW1RX65ILu79gM1yYjezUfa_CVT1Fy()
at nCrunch.TestExecution.Frameworks.Gallio.GallioTestFramework.GetDescription()
at nCrunch.TestExecution.Frameworks.TestFrameworkRegistry.GetDescriptionForEachFramework()
at nCrunch.TestExecution.Frameworks.FrameworkDescriptionResolver.GetDescriptionForEachFramework()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at nCrunch.TestExecution.Frameworks.IFrameworkDescriptionResolver.GetDescriptionForEachFramework()
at nCrunch.Core.TestManagement.TestFrameworkDescriptionManager.EnsureDescriptionsAreLoaded()
at nCrunch.Core.ComponentLoader.SnapshotComponentFactory.CreateSnapshotComponentFromXml(String projectFilePath, String projectXml, String solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile)
This is what I have tried to get it working again (without luck)
- Disabling and enabling NCrunch
- Restarting Visual Studio
- Running the configuration wizard again
- Deleting the *ncrunchsolution file
I am using Visual Studio 2012
Can someone help me?