Mar 17, 2010 at 7:23 PM
Edited Mar 19, 2010 at 3:54 PM
Please send me example Xsd files I'll look into that issue 8781.
The way the xsd2code command line works as well as the Addin. It looks for defaults.xsd2code in the directory containing the schema. In effect it get the Path of the Schema combines the folder and defaults.xsd2code.
It will only process the defaults.xsd2code if
- the schema is the only argument. This is the way it worked when looking inside .cs/.vb files for parameter settings, I didn't want to break anyone.
- there isn't a Specific <schema>.xsd.xsd2code file which has the
- any of the following: <schema>.designer.cs <schema>.designer.vb or
<schema>.designer.<extension> files do not exist. (2nd Priority)
- if and only if the above fail process defaults.xsd2code
Currently there isn't any inheritance/override capability. It's one or the other.
Admittedly, this was a quick addition, I needed a way to create a bunch of initial schemas with the same settings. Once created the individual files contain the regeneration settings.