ReferencedAssemblies in Silverlight

Stimulsoft Reports.Silverlight discussion
Locked
AVee
Posts: 4
Joined: Fri Aug 12, 2011 3:46 am

ReferencedAssemblies in Silverlight

Post by AVee »

Hi,

I recently refactored the data objects in our application into a separate assembly. After this change the report designer stopped showing the properties of the dataobjects added with RegBusinessObject. All objects which are defined in the Silverlight application itself are displayed properly. I've already found the ReferencedAssemblies property on the report object, however added the name of the assembly containing the dataobjects there doesn't seem to solve anything.

Is setting ReferencedAssemblies supposed to work in Silverlight? And if not, how can I use objects from a different assembly?

Thanks,
AVee
AVee
Posts: 4
Joined: Fri Aug 12, 2011 3:46 am

ReferencedAssemblies in Silverlight

Post by AVee »

Alright, it took a few hours of debugging, but I found the cause of this issue. Turns out it doesn't have anything to do with assemblies at all.

When we refactored into a different assembly we also added an indexed property to all objects for UI validation. Having this indexed property on an object apparently breaks SynchronizeBussinessObjects(). So there is some bug in there somewhere. Fortunately setting the IndexerName attribute to something other then "Item" works around the issue.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

ReferencedAssemblies in Silverlight

Post by Alex K. »

Hello,

Have you solved the problem?

Thak you.
Locked