VB Error on xml design page

Jun 1, 2009 at 6:18 PM

getting the error: Sequence contains more than one matching element.

at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.WowAddonStudio.FrameXml.Serialization.Support.LayerList.GetLayer(String name)
at Microsoft.WowAddonStudio.FrameXml.Serialization.LayoutFrames.LayeredLayoutFrame.get_DrawLayer()
at Microsoft.WowAddonStudio.FrameXml.Serialization.LayoutFrames.FontString.Equals(FontString other)
at Microsoft.WowAddonStudio.FrameXml.Serialization.LayoutFrames.FontString.Equals(Object obj)
at System.Collections.Generic.ObjectEqualityComparer`1.Equals(T x, T y)
at System.Linq.Set`1.Find(TElement value, Boolean add)
at System.Linq.Enumerable.d__7a`1.MoveNext()
at System.Linq.Enumerable.d__a3`1.MoveNext()
at Microsoft.WowAddonStudio.FrameXml.Serialization.LayoutFrames.LayoutFrame.InitializeParent(LayoutFrame parentFrame, Boolean deep)
at Microsoft.WowAddonStudio.FrameXml.Serialization.Ui.InitializeParent()
at Microsoft.WowAddonStudio.FrameXml.Design.Serialization.FrameXmlSerializer.Deserialize()
at Microsoft.WowAddonStudio.FrameXml.Design.FrameXmlDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

 

any ideas?

Jun 1, 2009 at 7:44 PM

Solved, somehow my save hadn't picked up a set of renames for my buttons and frames, and as such they had duplicate name attributes. renaming all my objects to something unique manually in my xml file solved the issue.