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.

Yogee
Coordinator
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: http://www.ewoodruff.us/shfbdocs/html/52aa172a-a310-4f75-b20f-7e2c7d870c65.htm

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?.

Eric