Visual Studio 2026 – How many lines of code in my solution ?
To find the number of lines of code in your solution using Visual Studio 2026, you can utilize the built-in code metrics feature. This feature allows you to analyze your code and provides metrics such as the number of lines of source code and executable code. You can access this feature from the Analyze menu by selecting Calculate Code Metrics for your solution or specific projects within it.
As for the lines inside your README.md files, Visual Studio does not provide a built-in feature to count lines in markdown files directly. You may need to open the README.md file in a text editor or use a script to count the lines manually.
References:
Read more here: Source link
