reuse types does not reuse existing List<T> types


If you define a list type in the xsd, lightblue generates a Class that inherit from List<T>.

If those lists are in the common contracts assemblies, they won't be reused by other contracts, instead they will be redefined.

I will post a sample project when I have time, and maybe fix that issue if nobody do it before me.


serbrech wrote May 23, 2013 at 9:42 AM

That seems to be a svcutils oddity http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/09eefbbc-bf63-4aa3-a0cb-01a9dbd7f496

But it seems it could be solved by automating this fix described in the forum in wscf lightblue. Not sure of the details, but doable I guess...