This project has moved and is read-only. For the latest updates, please go here.

How to do commenting for auto generated file.

Topics: Developer Forum, Project Management Forum, User Forum
Nov 17, 2014 at 12:16 PM
I have a class that is generated by tt file.
So, when I put xml comments in the class and save the tt file then the xml comments are deleted.
Is there anyway to do xml comment for such type of classes.

Thanks in advance.

Nov 17, 2014 at 5:54 PM
You can put them in a separate XML comments file and add it as a documentation source. It would be similar to sharing namespace comments as described in this topic:

Also, see the FAQ question I have an assembly without code and without an XML comments file for which I'd like to create documentation and/or an Intellisense file. How can I do that?.