6

Visual Studio - Determining Lines No Of Lines of code in a project - is this possible in VS 2008?

Christian
  • 9,914
  • 6
  • 45
  • 52
AJM
  • 32,054
  • 48
  • 155
  • 243
  • "Determining Lines No Of Lines of code in a project" What does this mean? Do you want to find out the total number of lines you have in your project? – Pod Sep 10 '09 at 11:14
  • Related: http://stackoverflow.com/questions/1244729/how-do-you-count-the-lines-of-code-in-a-visual-studio-solution – Marijn Jul 25 '12 at 08:47

4 Answers4

9

I find SlickEdit gadgets SLOC report to be very good and FREE! :)

Breaks down comments/lines of code etc.

Kindness,

Dan

Daniel Elliott
  • 22,647
  • 10
  • 64
  • 82
3

there is no direct way from vs2008 to do it, but you can use extended tools such as:

C# and VB.NET Line Count Utility

Wael Dalloul
  • 22,172
  • 11
  • 48
  • 57
3

TeamSuite will report this value as part of it's code metrics along with other, perhaps more valuable, statistics.

tvanfosson
  • 524,688
  • 99
  • 697
  • 795
2

You can use Project Line Counters add-ins available from from Code Project -

Kirtan
  • 21,295
  • 6
  • 46
  • 61