65.9K
CodeProject is changing. Read more.
Home

Win Count

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.67/5 (6 votes)

Feb 15, 2004

viewsIcon

51191

downloadIcon

544

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.