See this gist: https://gist.github.com/jpluimers/4247df4e0aa01c1c190a
and this blog post: http://wiert.me/2015/07/22/example-of-xsd2code-only-handling-xsd-annotations-for-attributes-not-for-elemen...
Id #17483 | Release:
| Updated: Jul 23 at 6:23 PM by jeroenp | Created: Jul 23 at 6:23 PM by jeroenp
It appears as though the /xa command line options allows you to turn generation of XML attributes on/off, but if they are on, the Order element is always included.
If running via Visual studio int...
Id #17348 | Release:
| Updated: Feb 5 at 7:40 PM by bullit77 | Created: Feb 5 at 7:40 PM by bullit77
I load data from the XML file to a object and want to save changes in that XML file.
What is the best way to rewrite the XML file after make changes in object (not to add).
Id #17340 | Release:
| Updated: Feb 1 at 7:40 AM by mohammad_nazari | Created: Feb 1 at 7:40 AM by mohammad_nazari
When generating serialization methods, the SaveToFile method always uses encoding.UTF8 which is wrong. This property is a static property of the base Encoding class and you can not change the BOM ...
Id #17295 | Release:
| Updated: Dec 22, 2014 at 12:38 PM by netniv | Created: Dec 22, 2014 at 12:38 PM by netniv
I have the following external public xsd protocol:
<xs:element name="FrequencyCode" type="FrequencyCodeType" minOccurs="0"></xs:element>
Id #17250 | Release:
| Updated: Dec 11, 2014 at 3:18 PM by panal | Created: Dec 11, 2014 at 3:15 PM by panal
I am using xsd2Code to create Poco's for my RabbitMq Contracts.
It works great, but when i enable the Feature PropertyParams => AutomaticProperties = True
with Code =>TargetFramework = Net40 and ...
Id #17167 | Release:
| Updated: Dec 31, 2014 at 12:15 PM by ExoltenOne | Created: Nov 25, 2014 at 7:37 AM by pascalsz
I have around 6 XSD's in my project. One Main Xsd will refer other Xsd's in it. when i generate C# classes using Xsd2Code on the main Xsd, a single C# file is generated with a single Namespace....
Id #16962 | Release:
| Updated: Aug 26, 2014 at 5:23 AM by ramk_chirra | Created: Aug 26, 2014 at 5:23 AM by ramk_chirra
If the DataBinding option is turned on and the XSD contains elements that map to value types (e.g. xs:unsignedInt) Xsd2Code produces code with checks that are invalid (always evaluate to true).
Id #16932 | Release:
| Updated: Jul 30, 2014 at 9:59 AM by NickDal | Created: Jul 30, 2014 at 9:59 AM by NickDal
Having a problem with xsd2code generated classes in vb dotnet, using latest version of xsd2code.
Problem is, when generating classes on complex XSD (about 15 files, with lots of inheritance of dat...
Id #16923 | Release:
| Updated: Oct 21, 2014 at 1:27 PM by Tomboy | Created: Jul 21, 2014 at 4:17 PM by Apothis
I used Xsd2Code version 184.108.40.206967 in order to generate a Xml Serialize / Deserialize model for an xml file.
Sometimes the code works fine, sometimes the following error is reported at th...
Id #16904 | Release:
| Updated: Jul 2, 2014 at 6:05 AM by Lucianf | Created: Jul 2, 2014 at 6:05 AM by Lucianf