0

I'm trying to generate C# classes from IEEE 1641 schemas: STDBSC.xsd and STDTSF.xsd using vs tool xsd.exe.

The first one is converted successfully but the second one (STDTSF.xsd) failed with error:

missing element "urn:IEEE-1641:2010:STDBSC:Signal"

Could anyone kindly point out why is that?

I placed STDBSC.xsd and STDTSF.xsd into the same folder. And I executed commands in VS2015 Command at this folder. You can see STDBSC.cs was generated successfully.

xsd STDBSC.xsd /c
xsd STDTSF.xsd /c

enter image description here

ricky
  • 2,058
  • 4
  • 23
  • 49

1 Answers1

0

I found the solution from @user1619480's answer for this SO post. The command should be:

xsd STDBSC.xsd STDTSF.xsd /c

for generating classes for STDTSF.xsd since it referenced STDBSC.xsd

Community
  • 1
  • 1
ricky
  • 2,058
  • 4
  • 23
  • 49