I'm developing an application that uses classes generated from xsd files made available by the federal recipe with xsd.exe . I use them to serialize xml files from the objects of these classes after performing validation of what has been populated with xsd itself.
So far so good, the problem is that these xsd files change version when federal revenue is well understood, which will cause me a lot of headache to update xsd and the class generated from it for all clients.It would force me to regenerate the C # class from the new version xsd and recompile the application. Which is very bad. Not to mention that if I eat ball and some client is left without the build updated, no xml generated by the application will be valid.
Okay enough of crying, as I am very amateur, I would like to ask: Is there a way to keep xsd files and their respective classes up to date without much manual labor?