.net


Using and integrating with the bit repository architecture with .net

Creating .net classes for messages

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