Wiki Link: [discussion:3405]
Does LOC work with TFS 2010 server? 

May 13 2010 at 6:22 PM
We've upgraded our TFS server to 2010, and I've updated the VS 2005 client install for TFS 2010 (, but I'm still getting a login screen in LOC. Is LOC coded to handle TFS 2010 server?

May 16 2010 at 8:35 PM
The same question about TFS 2010 as from gh67w. Should LOC work with it? It seems that I cannot connect to TFS server.

Jun 17 2010 at 4:57 AM
I have tried installing the LOCCounter on a TFS 2010 / VS2010 system. It does not seem to work. I needed to add the DefaultCollection and that would not be accepted. Also, when I tried to install it as an add-in it did not show up. I wonder if it needs to be updated to match the new TFS design.

Sep 10 2010 at 3:55 PM
I also cannot use this with TFS 2010. This is an issue because we use lines of code as a component of reporting development metrics. We would GREATLY appreciate an update for TFS 2010 support. An alternative would be to share the code for this tool so we can make the update ourselves.

Oct 11 2010 at 2:20 PM
Edited Oct 11 2010 at 2:21 PM
I know this is not anyone's first choice but I had some success with the following steps
  1. Download RedGate Reflector (free)
  2. Download Reflector Add-In: FileGenerator (free)
  3. Using Reflector, Export the following to source code (LOCCounter.exe, MS.IT.LOC.Manager.dll, MS.IT.LOC.SourceControl.dll)
  4. Update the Login method of VSTFSourceControlProvider in MS.IT.LOC.SourceControl.dll so that the SERVER_NAME matches the new TFS format.
(See the connection you make in Team Exporer to understand the format you're shooting for)

Keep in mind that Reflector isn't perfect and you'll probably have to chase down syntax errors for a while. This whole endeavor took me three days and now I'm back using this tool again. You will also have to manually setup your assembly references. Just point to the DLLs from the current executable's folder.

Page view tracker