Hi,
I know how to fix this BUT I don't know why I need to distribute this assembly when my project doesn't use an XtraTreeList anywhere that I know of.
************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'DevExpress.XtraTreeList.v8.2, Version=8.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The system cannot find the file specified.
File name: 'DevExpress.XtraTreeList.v8.2, Version=8.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1'
at DevExpress.XtraPrinting.Control.Native.NavigationController.InitializeDockPanel_Container(ControlContainer dockPanel_Container)
at DockPanelController..ctor(PrintControl printControl, PrintingSystemCommand printingSystemCommand, PreviewStringId stringId, DockPanel savedParent)
at DevExpress.XtraPrinting.Control.PrintControl..ctor()
at DevExpress.XtraPrinting.Preview.PrintPreviewFormExBase.InitializeComponent()
at DevExpress.XtraPrinting.Preview.PrintPreviewFormExBase..ctor()
at DevExpress.XtraPrinting.Preview.PrintPreviewFormEx..ctor()
at DevExpress.XtraPrinting.PrintingSystem.GetPreviewFormEx()
at DevExpress.XtraPrinting.PrintingSystem.get_PreviewFormEx()
at DevExpress.XtraPrinting.PrintingSystem.ShowPreview(UserLookAndFeel lookAndFeel)
at DevExpress.XtraPrinting.LinkBase.ShowPreview(UserLookAndFeel lookAndFeel)
Glen Harvy.