annotations are only emitted to C# when they are for XSD attributes, not for elements, types etc.

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: None | Updated: Jul 23 at 6:23 PM by jeroenp | Created: Jul 23 at 6:23 PM by jeroenp

Ability to set GenerateOrderXmlAttributes=false via command-line

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: None | Updated: Feb 5 at 7:40 PM by bullit77 | Created: Feb 5 at 7:40 PM by bullit77

Rewrite XML file

Hi 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). thanks

Id #17340 | Release: None | Updated: Feb 1 at 7:40 AM by mohammad_nazari | Created: Feb 1 at 7:40 AM by mohammad_nazari

Byte Order Marker - UTF8 Encoding failure

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: None | Updated: Dec 22, 2014 at 12:38 PM by netniv | Created: Dec 22, 2014 at 12:38 PM by netniv

nullable enum issue

I have the following external public xsd protocol: <xs:element name="FrequencyCode" type="FrequencyCodeType" minOccurs="0"></xs:element> <xs:simpleType name="FrequencyCodeType"> <xs:restricti...

Id #17250 | Release: None | Updated: Dec 11, 2014 at 3:18 PM by panal | Created: Dec 11, 2014 at 3:15 PM by panal

Disable FieldGenereation when using AutomaticProperties = True

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: None | Updated: Dec 31, 2014 at 12:15 PM by ExoltenOne | Created: Nov 25, 2014 at 7:37 AM by pascalsz

How to create Seperate C# files for Different XSD's

Hi, 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: None | Updated: Aug 20 at 7:07 AM by IainStevenson | Created: Aug 26, 2014 at 5:23 AM by ramk_chirra

Warning CS0472 - With DataBinding option

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). Ex...

Id #16932 | Release: None | Updated: Jul 30, 2014 at 9:59 AM by NickDal | Created: Jul 30, 2014 at 9:59 AM by NickDal

Problem with serialise/deserialise with xml attributes

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: None | Updated: Oct 21, 2014 at 1:27 PM by Tomboy | Created: Jul 21, 2014 at 4:17 PM by Apothis

XML Deserialization

Hello, I used Xsd2Code version 3.4.0.38967 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: None | Updated: Jul 2, 2014 at 6:05 AM by Lucianf | Created: Jul 2, 2014 at 6:05 AM by Lucianf