Page 1 of 1

ReferencedAssemblies in Silverlight

Posted: Mon Dec 05, 2011 11:34 am
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

ReferencedAssemblies in Silverlight

Posted: Tue Dec 06, 2011 11:49 am
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.

ReferencedAssemblies in Silverlight

Posted: Wed Dec 07, 2011 5:00 am
by Alex K.
Hello,

Have you solved the problem?

Thak you.