问题
I prefer to browse the assemblies using reflector even though i have source code with me specially in case when i move to new project. But I feel it would be nice if i could see the XML comments of the source code in reflector.
Is any addin which would do that?
Thanks In advance, Uday
回答1:
XML comments are not compiled into assembly - they go into separate XML file. If it is your assembly, or XML file is shipped with the assembly you're trying to analyze, then Reflector will pick them up automatically. If not - you are out of options, sorry...
Edit: Anyway, those comments won't be displayed alongside your code - you'll see them below the disassembly window, documentation-style formatted.
Edit2: It appears that you can display your XML comments inline if you want to - there is an option for that in settings dialog. Didn't know that! :)
回答2:
I think this might help you.
http://www.red-gate.com/messageboard/viewtopic.php?t=8630
来源:https://stackoverflow.com/questions/999865/how-to-see-xml-comments-of-the-code-from-reflector