If you want to do this from within the Visual Studio IDE, add "Data Set" files to your project. These are what is known as "typed datasets" and it will re-generate the C# (or VB.NET) classes in the background as soon as your schema changes. It does have limitations though, especially when you schema becomes very complex, with nested comlextypes.
-Ernst On 2/1/06, Eddie Lascu <[EMAIL PROTECTED]> wrote: > > Nevermind, I figured it out. XmlSpy has a code generator that can spit out > C#. > Thanks, > Eddie > > > > Hello experts, > > I have the feeling that this question was asked before, but I don't > remember > what was the answer and whether it can be done. > Basically I have a huge XML Schema Definition file (with tons of types > defined). Is there a tool that can be used to generate the equivalent C# > classes that can be later used to instantiate and serialize objects that > would generate Xml documents that can be validated against the schema? I > know you can open an XSD document in the Visual Studio, but I don't know > if > you can generate the C# classes within the IDE. > > Any comments? > > TIA, > Eddie > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Ernst Kuschke MVP - C# http://dotnet.org.za/ernst =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
