xsd.exe Object reference not set to an instance of an object.

  • Thread starter Thread starter Reader
  • Start date Start date
R

Reader

I am trying to generate a class from an xsd and i get this error.

Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Error: Error generating classes for schema 'adf_message'.
- Object reference not set to an instance of an object.

If you would like more help, please type "xsd /?".


The XSD files all validate in VS.Net and in XMLspy. I can't find any
documentation to help track down what this means or how to correct this.
Could someone point me in the direction of what would cause this in XSD.exe?
or how can i debug this to find out what the error?
 
Best solution I found is to comment out parts of the XSD to track down the
offending parts.. when they are found address them... but remember, have fun
while you work...
 
Back
Top