Click here to Skip to main content
15,867,686 members
Articles / Programming Languages / C#
Article

Win Count

Rate me:
Please Sign up or sign in to vote.
3.67/5 (6 votes)
14 Feb 2004 50.2K   544   17   10
Count number of lines of code in your project.

Sample Image - WinCount.jpg

Introduction

WinCount is a little utility for measuring the number of lines of code in your program (or any number of text files in a directory). Very easy to use and install.

VS.NET setup as external tool:

Installation:

  • Just put the WinCount.exe file somewhere on your hard drive and
  • run the program by double clicking the executable.

To install in VS.NET as external tool:

  1. Go to Tools/External Tools.
  2. Click on Add button.
  3. Fill the fields as follows:
    • Name: WinCount
    • Command: Path to the winCount.exe file
    • Arguments: $(SolutionDir)
    • Initial Directory: blank (nothing at all)
  4. Click OK.
  5. Now, you can run the program by going to Tools and selecting WinCount.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Chief Technology Officer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralLightweight footprint; fast; 9 out of 10 Pin
MioTEK30-May-07 6:45
MioTEK30-May-07 6:45 
GeneralAnother issue Pin
Bill Seddon16-Apr-07 22:04
Bill Seddon16-Apr-07 22:04 
Generalexception! Pin
giddy_guitarist15-Dec-06 2:55
giddy_guitarist15-Dec-06 2:55 
Generalnot work Pin
Tess Durbeyfield19-Jun-06 21:10
Tess Durbeyfield19-Jun-06 21:10 
Generalanother sample written by C#. Pin
KingMarine27-Jan-05 17:25
KingMarine27-Jan-05 17:25 
QuestionHow to count "lines of code"? Pin
davecraft5-Nov-04 7:14
davecraft5-Nov-04 7:14 
AnswerRe: How to count "lines of code"? Pin
Werdna5-Nov-04 9:36
Werdna5-Nov-04 9:36 
GeneralAdded code to clear the file list Pin
Drew Berkemeyer17-Feb-04 6:01
Drew Berkemeyer17-Feb-04 6:01 
GeneralAdded code to omit blank and comment lines Pin
Drew Berkemeyer17-Feb-04 5:51
Drew Berkemeyer17-Feb-04 5:51 
GeneralRe: Added code to omit blank and comment lines Pin
Werdna18-Feb-04 8:24
Werdna18-Feb-04 8:24 

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

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