Compilation
Nuget Package
The project makes use of a non official nuget package, named Microsoft.TeamFoundationAPI.10, whose sources are stored here (it is included in the code).
So as to make use of this package, one has to put in a \lib\net40 directory all the assemblies stored in a box with Visual Studio 2010 installed in the following directory:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0"
and then to compile the package:
nuget pack Microsoft.TeamFoundationAPI.10.nuspec
Once the package is compiled, it can be installed from a local folder, as decribed here.
Via such a package, it will be quite easy to adapt the project to TFS 2013 or any other version.
Environment variables
So as to be as portable as possible, the code makes use of environment variables:
TfsUrl
TfsLoginName
TfsPassword
RDPDomain
These can be set with the following powershell script, included in the solution.
That's all folks.