Extracting comments from C # class files is relatively simple (see Extracting comments from a C # source file ), but I recently ran into the opposite problem.
My project has a bunch of classes that are generated from an XML schema (via Microsoft xsd.exe). I would like to write XML documentation for these classes, but we must constantly recreate them. I would like to write comments, extract them into my .xml file, run xsd.exeto recreate the classes from the schema, and then combine the comments.
Is there any way to do this?
source
share