Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Count how many lines of code contains a Visual Studio solution [closed]

One team will analyze our .NET solution code. Before that, we wondered how many lines of code contains our project.

Is there a way to achieve find out this (in VS 2010) ?

like image 395
serhio Avatar asked Oct 15 '10 10:10

serhio


Video Answer


1 Answers

Open the search (ctrl+shift+f),

Search for all files in the solution (*.cs or *.vb), use regular expression ^ (line beginning).

Wait.

PS.
you can filter out empty lines with ^.+$ (a @ssc-hrep3 suggestion)

like image 162
serhio Avatar answered Sep 28 '22 09:09

serhio