Create To the XSD design You Want and then use this tool to generate the code behind and classes very useful when trying to serialize objects to be passed in webservices.
Open your Visual Studio Select Tools > External Tools then Click ADD
Title : XSD generation
Command : system Drive:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\xsd.exe
Arguments : /nologo /c /n:CB.Booking.ServiceModel.$(ItemFileName) $(ItemPath)
Initial Directory : $(ItemDir)
Check Use Out Put window Option













Leave a Reply