code_junkie

How to convert an XML file into a .Net class?

Nov 11th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. @Echo off
  2. Set XsdExePath="C:Program FilesMicrosoft Visual Studio 8SDKv2.0BinXSD.exe"
  3. Set Language=VB
  4. %~d1
  5. CD %~d1%~p1
  6. %XsdExePath% "%~n1.xml" /nologo
  7. %XsdExePath% "%~n1.xsd" /nologo /c /language:%Language%
Add Comment
Please, Sign In to add comment