How to get changes in XSD file affect the related CS file?

ishaan786

New Member
I've created an .xsd file and then used XSD.exe to generate the .cs file (I've used xsd.exe /dataset mySchema.xsd). All is working well but suddenly, I need to add a new field to my xsd. Do I have to remove the .xsd file from the project, generate and new .cs file using XSD.exe and then add it again or is there an automatic way for VS2010 to update the .cs when I do the change to the xsd through the schema explorer?Thanks!
 
Back
Top