06-06-23 11:50 AM
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
06-06-23 02:36 PM
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
06-06-23 02:52 PM
Hi,
Super, I'll have a look. Thanks You so much for fast reply! 🙂
06-06-23 03:03 PM
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.
07-06-23 12:24 PM
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
24-10-23 07:43 PM
@RogerThat1 I'm going through the same problem. Did you find any solution?