Search code examples
c#namespacesdocumentationclass-hierarchy

Dump C# solution structure to a text file


I would like to dump the structure of my C# solution to a text file or some other output available.

In a solution I have 72 projects and I would like to dump this structure in a fashion similar to the following:


  • Namespace
    • Classes
      • Methods
        • Call hierarchy (the fully qualified caller that invokes said method)

The structure does not have to look exactly like this. As long as I can have some way of determining how what interacts with each other and the fully qualified names of all the projects and classes that exist in a said solution.

The reason for wanting this is so that I can have the current structure documented (even if it is not fully documented) before I can start extracting the different projects in to relative solutions.


Solution

  • Answer as per Y.S in comments:

    See Sandcastle Help File Builder on GitHub as well as the related post on SO here.

    Thanks again for the better solution to my dilemma @Y.S