Click here to Skip to main content
6,292,811 members and growing! (11,414 online)
Email Password   helpLost your password?
Languages » C# » Samples     Intermediate

Win Count

By Werdna

Count number of lines of code in your project.
C#, Windows, .NET 1.1VS.NET2003, Dev
Posted:14 Feb 2004
Views:27,920
Bookmarked:12 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
6 votes for this article.
Popularity: 2.56 Rating: 3.29 out of 5
1 vote, 16.7%
1
1 vote, 16.7%
2

3
1 vote, 16.7%
4
3 votes, 50.0%
5

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

About the Author

Werdna


Member

Occupation: Web Developer
Location: United States United States

Other popular C# articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 10 of 10 (Total in Forum: 10) (Refresh)FirstPrevNext
GeneralLightweight footprint; fast; 9 out of 10 PinmemberMioTEK7:45 30 May '07  
GeneralAnother issue PinmemberBill Seddon23:04 16 Apr '07  
Generalexception! Pinmembergiddy_guitarist3:55 15 Dec '06  
Generalnot work PinmemberYilmaz YÖRÜK22:10 19 Jun '06  
Generalanother sample written by C#. PinmemberKingMarine18:25 27 Jan '05  
GeneralHow to count "lines of code"? Pinmemberdavecraft8:14 5 Nov '04  
GeneralRe: How to count "lines of code"? PinmemberWerdna10:36 5 Nov '04  
GeneralAdded code to clear the file list PinsussDrew Berkemeyer7:01 17 Feb '04  
GeneralAdded code to omit blank and comment lines PinsussDrew Berkemeyer6:51 17 Feb '04  
GeneralRe: Added code to omit blank and comment lines PinmemberWerdna9:24 18 Feb '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 14 Feb 2004
Editor: Smitha Vijayan
Copyright 2004 by Werdna
Everything else Copyright © CodeProject, 1999-2009
Web17 | Advertise on the Code Project