My SL 5 app use XamDataTree. It is okay when I run it on one computer which install Infrisgistics 2012.
But on another computer which does not install Infrisgistics 2012 but have all those assemblies referenced by app, I got the error when run the app:
...
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Caused by: The invocation of the constructor on type 'Infragistics.Controls.Menus.XamDataTree' that matches the specified binding constraints threw an exception. [Line: 26 Position: 60]
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
....
when check exception in debug mode and got more info which said it ask for InfrisgisticsSL5.DrapDrop.V21.1, but I do not use any dragdrop function in the app.
so question: there is a Dependency between XamDataTree and DragDrop?
okay now. Thanks.
Hi,
I was wondering if you had any further questions.
For the XamDataTree you will need to have the following assemblies.
InfragisticsSL5.v12.1.dll
InfragisticsSL5.Controls.Menus.XamDataTree.v12.1.dll
InfragisticsSL5.DragDrop.v12.1.dll
This document should be helpful to you. It describes which assemblies are needed when you deploy and goes through all of the controls.
https://help.infragistics.com/Doc/Silverlight/2012.1/CLR4.0/?page=Developers_Guide_Deploying_Your_Application.html
This may also be of assistance. It describes adding a XamDataTree to a project but it includes which assembles are needed.
https://help.infragistics.com/Doc/Silverlight/2012.1/CLR4.0/?page=xamDataTree_Adding_xamDataTree_to_Your_Page.html