If you start with an XML or XSD file there is a command line tool to generate code. XSD.exe. https://docs.microsoft.com/en-us/dotnet/standard/serialization/xml-schema-def-tool-gen I have used this many times with little hassle.
Alan
If you start with an XML or XSD file there is a command line tool to generate code. XSD.exe. https://docs.microsoft.com/en-us/dotnet/standard/serialization/xml-schema-def-tool-gen I have used this many times with little hassle.
Alan