Redefine SchemaLocation Error

Nov 24, 2009 at 8:55 PM
Edited Nov 24, 2009 at 8:58 PM

Hi,

I have 2 XSD files which I need to generate C# classes for.  Generating the first XSD file is successful; while trying to generate the second one is not.  The error is:

Error:  Cannot import schema for type 'invoiceType' from namespace 'http://www.MyCompany.com/claims/eBilling/eBillBatchInvoice.xsd'.  Redefine not supported.
SubType: Undefined.
Rule:

I have both files in the same folder/directory.  In essence, the second gets its information from the first XSD.  I don't know whether the error has to do with not specifying the schemaLocation properly although I have tried many combinations.  Any help would be appreciated.

     Giovanni

Oct 23, 2014 at 5:34 AM
I'm experiencing the same problem too. Any solution / workaround? Thanks.