How I got this to work

Oct 29, 2013 at 6:22 PM
To get this working on my Win7-64 environment, I had to
  • Download the source project. Open that in VS2008
  • Change the compile options from Any CPU to x86
  • Remove and re-add the references to the Microsoft.TeamFoundation.* DLLs
  • Change the obsolete TeamFoundationServer to TfsTeamProjectCollection in TfsConnection.vb:lines 9 and 45.
  • We Access our TFS through a domain account, so I also had to change the TFS login to just use the URL and not pass username, password credentials, so ConnectToServer method looks like this now
    Public Sub ConnnectToServer(ByVal Login As String, ByVal Password As String, ByVal IpPortOrMachineName As String)

        Try

            MyCred = New System.Net.NetworkCredential(Login, Password)
            Dim myURI = New Uri(IpPortOrMachineName)
            server = New TfsTeamProjectCollection(myURI)
            vcs = CType(server.GetService(GetType(VersionControlServer)), VersionControlServer)

        Catch ex As Exception

            Throw New Exception("Unable to connect. Details:" & vbCrLf & ex.Message.ToString)

        End Try

    End Sub
Oct 16, 2014 at 8:02 PM
Patch 11295 supports Visual Studio 2010, including binaries in the TfsSearchCode\TfsSearchCodeDesktop\bin\Release folder in the 7-zip archive.

Patch 16892 supports Visual Studio 2012 including only the .diff and binaries in the zip archive.
Nov 6, 2014 at 6:31 AM
A small utility is available TfsAdminToolKit for TFS 2012 users
https://tfsadmintoolkit.codeplex.com/

-Vikas