:: The story of a lone developer's quest to build an online world
:: MMO programming, design, and industry commentary
[The Imperial Realm :: Miranda] [Blog] [Gallery] [About]

The One Man MMO Project: Project Line Counter in Visual Studio 2010

By Robert Basler on 2011-06-04 00:01:45
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

Project Line Counter is super handy, but it hasn't been updated since Visual Studio 2005. Here's how to get it to work in Visual Studio 2010

I'm using PLC in Visual Studio 2010 SP1 on Windows 7 64-bit, but it also worked pre-SP1.

Get PLC from here: http://www.wndtabs.com/downloads/PLC221.zip

Unzip, then install SetupPLC221.exe, you don't need to install Workspace Whiz.

Get PLCReg.reg which has new registry keys for PLC which work with Visual Studio 2010.

If PLC isn't installed in C:\Program Files (x86)\LineCount you will need to edit PLCReg.reg with Windows Notepad to modify the paths.

If you are running 32-bit Windows, you will need to edit PLCReg.reg to modify the registry location [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Addins\LineCount]. I think it should be [HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\10.0\Addins\LineCount] but I don't have a 32-bit machine to test that on.

Double click PLCReg.reg to put the new entries into the registry. You might want to backup your registry first just in case.

Next time you start Visual Studio, you should find the Project Line Counter toolbar in the toolbars when it starts up.

By omeg on 2012-02-28 05:08:34
Homepage: omeg.pl email:
CLOC is also a nice little utility for that. It's command line, but still pretty useful.
By Jichao on 2012-10-15 06:29:56
Homepage: singwine.com email:jcyangzh at gmail dot com
Actually this plugin could also run on visual studio 2012 just change the version number 10.0 to 11.1 in the registry file: HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftVisualStudio10.0AddinsLineCount
By SM on 2014-04-06 23:28:02
Homepage: email:
great!

New Comment

Cookie Warning

We were unable to retrieve our session cookie from your web browser. If reloading this page does not get rid of this message, please read this to learn more.

You will not be able to post until you resolve this problem.

Comment (You can use HTML, but please double-check web link URLs and HTML tags!)
Your Name
Homepage (optional, don't include http://)
Email (optional, but automatically spam protected so please do)
What color is the ocean? (What's this?)

Admin Log In