Child pages
  • Creating .net classes for messages
Skip to end of metadata
Go to start of metadata

One way to generate support classes for the xml messages in the bit repository


xsd.exe, a command line tool from Visual Studio, is able to generate .net net classes for the bit repository messages using the xsd's. Imports in xsd's are not handled automatically, so both BitRepositoryMessages.xsd and BitRepositoryElements.xsd need to be mentioned.

xsd.exe /c BitRepositoryMessages.xsd BitRepositoryElements.xsd /namespace:org.bitrepository.bitrepositorymessages

The documentation for xsd.exe can be found here: http://msdn.microsoft.com/en-us/library/x6c1kb0s(v=VS.100).aspx

  • No labels