Click here to Skip to main content
Licence CPOL
First Posted 25 Jan 2005
Views 25,211
Downloads 532
Bookmarked 7 times

A tool statistic C# solution code count

By | 14 Jan 2008 | Article
With this tool, you can statistic a C# solution or project code count.

Introduction

When you finished your project ,you may want to know how many code you have write,This tool is just you want, help you statistic the code count.

Function: open a C# project file which extension is ".csproj",then you will see in the listview the project's summary info, each cs file's code lines and whole project's code line count.

2008/1/15 : VsSolutionTools description

At the base of last version, add support of solution file and support VS 2005 format, you not only can statistic the code count of a project but also can statistic the count of a C# solution.

ToDo:

Now this tool can only ready C# projcet file ,VB.net ,C++ project file not include,and can't read solution file ,next I want to read a solution to get all project in it and caculate line count.The solution file is not in XML format ,but project is,I don't know how read it easyly,if you know tell me.

ToDo :

If I have enough time, I will support the solution of VS 2008 version, add statistic the count of comment and blank line.

Any question of advice please send mail to : nnlyx@sohu.com

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Andy Lang

Architect

China China

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Questionwhat about comments? PinmemberSanjay M18:40 20 Nov '05  
Generalnice idea Pinmembermascix6:56 13 Aug '05  
GeneralRe: nice idea PinmemberAndyLang18:35 3 Jul '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 15 Jan 2008
Article Copyright 2005 by Andy Lang
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid