Mark asked this 4 years ago

How can i find the number of lines of code in a VB.NET solution

Is it possible to find the number of lines of code in a Visual Basic.NET Project?

I want to count the lines (excluding comments and line breaks) in all the source files of a visual basic solution. I'm using visual studio version 2010


mamdouh 1 year ago

If you have visual studio 2010 ultimate version then you can find this feature in the IDE itself.. Click Analyze -> Code metrics.

On later version of Visual studio, for example VS2017 this feature is available in professional edition also. Click Analyze ->Run Code Analysis -> On Solution.