visual-studio

How do you count the lines of code in a Visual Studio solution?


Is it possible to find the number of lines of code in an entire solution? I've heard of MZ-Tools, but is there an open source equivalent?


Solution

  • Visual Studio has built-in code metrics, including lines of code:

    Analyze → Calculate Code Metrics