axnst2
asked on
schema xmlns='http //www.w3.org/2001/xmlschema' was not expected
Hi Experts,
I am trying to create a C# class from an XSD using XSD.exe (VS2015) and I am getting the below error:
'schema xmlns='http //www.w3.org/2001/xmlschema' was not expected'
Here's what I am using:
xsd /classes /language:cs /out:C:\Classes /parameters:C:\ED_Address. xsd
Attached is the XSD. Any help would be great!
ED_Address.xsd
I am trying to create a C# class from an XSD using XSD.exe (VS2015) and I am getting the below error:
'schema xmlns='http //www.w3.org/2001/xmlschema' was not expected'
Here's what I am using:
xsd /classes /language:cs /out:C:\Classes /parameters:C:\ED_Address.
Attached is the XSD. Any help would be great!
ED_Address.xsd
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I just had to change my command line arguments per your answer to:
xsd C:\ED_Address.xsd /classes /language:cs /out:C:\Classes
Thank you!!!!!
xsd C:\ED_Address.xsd /classes /language:cs /out:C:\Classes
Thank you!!!!!
ASKER