Hi,
I am using object datasource in my application and ReportDesigner as described here:
http://www.telerik.com/support/kb/reporting/details/how-to-use-external-assemblies-with-custom-user-functions-in-the-report-designer
My solution is to copy reportdesigner exe and config file into my project dir and add relative path to build dir (bin/Debug) of my application.
This was ok for 2015 Q1. When I switched to 2015 Q2 reportdesigner stopped working with this exception:
[2015-09-15 09:58] FATAL: An error has occurred. Restarting...
System.ArgumentException: 'Telerik.Windows.Controls.TransitionEffects.FadeTransition' is not a valid value for the 'Telerik.Windows.Controls.RadFluidContentControl.Transition' property on a Setter.
at System.Windows.Setter.Seal()
at System.Windows.SetterBaseCollection.Seal()
at System.Windows.Style.Seal()
at System.Windows.StyleHelper.SealIfSealable(Object value)
at System.Windows.ResourceDictionary.SealValue(Object value)
at System.Windows.ResourceDictionary.SealValues()
at System.Windows.ResourceDictionary.AddOwner(DispatcherObject owner)
at System.Windows.ResourceDictionary.PropagateParentOwners(ResourceDictionary mergedDictionary)
at System.Windows.ResourceDictionary.OnMergedDictionariesChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at Telerik.ReportDesigner.App.MergeResourceDictionaries()
at Telerik.ReportDesigner.WorkbenchHost.RunWorkbench()
at Telerik.ReportDesigner.WorkbenchHost.Start()
Finding cause of this problem was not easy. It looks like this line in reportdesigner config file:
<probing privatePath="bin\Debug"/>
makes reportdesigner to load telerik assemblies from this location instead of program files and reportdesigner uses different version of telerik assembiles than my application.
I changed probing to reporting\bin\Debug where my assembly for reporting is build and problem was fixed. Of course this works because my reporting.dll assembly does not depend on telerik libraries.
But proper solution force reportdesigner to load all telerik assemblies with version it was compiled against.