Xsd2Code 3.5.2.0
Add setter on collection property. (cancel #14357)karpach96 patch applied (thanks to him) :
We are extensively using Xsd2Code to generate report classes. Some of those reports are relatively big (>50Mb). LoadFromFile method of generated classes used to give us a lot of System.OutOfMemoryException. We looked at generated files and found that there is unnecessary usage of StreamReader with pure evil ReadToEnd. System.OutOfMemoryException went away after we removed StreamReader. Attached patch removes StreamReader from LoadFromFile method.
TwoStick Patch applied (thanks to him) :
Since we can get in here if the TargetFramework is Silverlight, we need to check again to see
if the GenerateXmlAttributes is actually True. Is so, Silverlight needs the other attributes to properly
serialize XML so it can be compatible with generated XML from a regular C#, .Net (2.0+) application
(that also use the Serialization.GenerateXmlAttributes support).
Silverlight doesn't support the two I left in, so we remove those.
If we aren't wanting to GenerateXMLAttributes when TF=Silverlight, then we remove all the attrib. markers.
Xsd2Code 3.5.1.0
Issue #14391Issue #14391
Issue #6988
Issue #14357
Issue #13372
Issue #13228
Issue #12949
Issue #7365
Thanks for the participation of DaviC in this release.