xsd.exe
Deserializing classes from XML generated using XSD.exe
I have classes generated (using xsd.exe) from an .xsd that I can serialize just fine, but when I try and deserialize it, I get the error:[详细]
2022-12-29 06:19 分类:问答XSD.exe doesn't enforce minOccurs
I have a simple schema where I\'m declaring both minOccurs and maxOccurs to 1. W开发者_运维知识库hen I run the XSD.exe to generate a C# class and consume the class in code; the field is not enforced a[详细]
2022-12-28 18:52 分类:问答What type of things can cause sgen msbuild task to fail intermittantly with Access Violation?
In our MSBuild file for our proje开发者_C百科ct we sgen an assembly containing classes used during xml serialization. The classes are generated via xsd.exe.[详细]
2022-12-28 10:59 分类:问答Can I create a dataset XSD without using the designer?
I want to be able to create the XSD file for my typed dataset without using the visual studio dataset designer. Is there a way to do this using for instance a command-line tool?[详细]
2022-12-25 12:53 分类:问答Creating an XSD schema
I have an xml tag: <ROW field1=\"value 1\"field2=\"value 2\" .../> fieldi has a string value, and number of attributes fieldi is variable, but not less than 1. Is it possible to create an xsd[详细]
2022-12-22 17:03 分类:问答XSD.exe and "Circular Group references"
I am attempting to build some classes so that I can deserialise an XML file created by a third party application. Luckily the developer of the 3rd party application included a schema file with their c[详细]
2022-12-22 05:12 分类:问答xsd.exe generated classes don't serialize default value attributes
I have few .cs files generated by xsd.exe by a XSD schema. My problem is that when 开发者_运维问答i try to serialize those classes to xml, the attributes whose values match the default values define[详细]
2022-12-21 20:40 分类:问答How to use xsd.exe /c output
I tried using xsd.exe to convert an .xsd file into a C# class.It worked, but I\'m still not quite sure how to use this class.It has several class-level attributes but the most interesting is System.Xm[详细]
2022-12-19 21:14 分类:问答.xsd comments in xsd.exe generated wrapper class
I have an xsd file in my csproj, from which xsd.exe generates a wrapper cs file. I\'d like to comment the xsd file in a way, that the comments are also ins开发者_运维百科erted into the generated wrap[详细]
2022-12-19 19:53 分类:问答Read XML into xsd.exe generated classes. Good idea?
I have a fairly complex XML coming my way and I have the XSD for it.I generated classes via xsd.exe and read XML into the class structure via the XmlSerializer described here.[详细]
2022-12-16 05:06 分类:问答