вторник, 13 сентября 2011 г.

Calculate LOC with one line of code

Found a very useful tip on how to quickly estimate the size of a project with only one line of powershell script.
Navigate to the root directory of your project and in powershell type the following:
(dir -include *.cs,*.xaml -recurse | select-string .).Count

Thats it. 
Good luck!