D
deko
I've seen the examples on msdn, but still having trouble with xsd.exe
What I want to do: use the command line to create a typed dataset .dll that I
can add to my VS05 project
I assume all I need to do is run these two commands:
xsd.exe /d /l:CS myschema.xsd
csc.exe /t:library myschema.cs /r:System.dll /r:System.Data.dll
And then just add the .dll to my project. Is this correct?
So I opened an XP command prompt window and navigated to the directory in which
the current schema file is located.
I tried this:
xsd.exe /d /l:CS myschema.xsd
but no luck
Error:
'xsd.exe' is not recognized as an internal or external command,
operable program or batch file.
I also tried it from the .NET command window and got this error:
Command "xsd.exe" is not valid.
Is there something wrong with my installation - like xsd is not installed? Or
am I going about this the wrong way?
Thanks in advance.
What I want to do: use the command line to create a typed dataset .dll that I
can add to my VS05 project
I assume all I need to do is run these two commands:
xsd.exe /d /l:CS myschema.xsd
csc.exe /t:library myschema.cs /r:System.dll /r:System.Data.dll
And then just add the .dll to my project. Is this correct?
So I opened an XP command prompt window and navigated to the directory in which
the current schema file is located.
I tried this:
xsd.exe /d /l:CS myschema.xsd
but no luck
Error:
'xsd.exe' is not recognized as an internal or external command,
operable program or batch file.
I also tried it from the .NET command window and got this error:
Command "xsd.exe" is not valid.
Is there something wrong with my installation - like xsd is not installed? Or
am I going about this the wrong way?
Thanks in advance.