Jungle Coder
eggbug ate all of the spiders, excuse the flies
Just added post themes! Witness The Colors, and Exult!

Counting lines of C# using Powershell

I recently wanted to see how many lines of code were in a particular C# project. Google lead me to the following article: http://www.limilabs.com/blog/source-lines-of-code-count-using-powershell

I refined that script to exclude most of the designer files that Visual Studio generates via UI tools. The results are below in a gist.

Published November 8th, 2014

Comments

Previously: Performance Gotchas in .Net 2 - Regex timeouts
Next: Meta: Bugs and Suggestions