cancel
Showing results for 
Search instead for 
Did you mean: 

Failing to show dependencies

RogerThat1
Level 3

Hi, 
When creating av new release package, right-klicking on the process to "Select Dependencies" fails with this error:
************** Exception Text **************
System.InvalidOperationException: Sequence contains more than one matching element
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at AutomateUI.ctlPackageBundler.avd(Object a, EventArgs b)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Does anyone know how to solve this issue?
The list of Assemblies is very long, but can post it here if it helps to solve the issue.

Kind regards

Roger Hoel

5 REPLIES 5

steven.boggs
Staff
Staff

Hi Roger,

We have a Knowledge Base article about this scenario/error here which may help: BPE error "Sequence contains more than one matching element" while selecting dependencies for a Release Package

RogerThat1
Level 3

Hi, 
Super, I'll have a look. Thanks You so much for fast reply! 🙂

RogerThat1
Level 3

Hi again, 

That did not help much. I understand that something is not named unique, but how do we find the culprit to be able to fix the conflict. Hmm... I wonder.
Its quite a big process, so very hard to find, in this case. Any well ment tips out there?

Kind regards, Roger Hoel.

PvD_SE
Level 12

Hi Roger, 

You mention it is quite a long list. Could the list be copied/pasted into an Excel so you can find the duplicates there?


Happy coding!
---------------
Paul
Sweden

Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

@RogerThat1  I'm going through the same problem. Did you find any solution?