1.在xsd文件中可能存在相互嵌套的情况,这是xsd就无能无力了。
http://geekswithblogs.net/mnf/archive/2008/07/22/generate-c-class-from-xsd-file.aspx
<< Visual studio 2008 "Build action" properties: Shadow and CodeAnalysisDictionary | Home |"Login failed for user" may mean "database name is invalid" >>
Generate C# class from XSD file.
I have an existing C# file, generated a long time ago from XSD definition.
The XSD files were changed, and proxy class should be regenerated.
I've tried to use XML Schema Definition Tool (Xsd.exe) to generate C# class, but it returned the error: "The datatype is missing".
I've actually have two XSD files -outer and imported
Thanks to the post: XSD.exe is kicking my butt, man...redux , it pointed me to specify all necessary files on the commandline.
Note that name of generated file is combined from the files listed
I've created the b