The project setup
First off, we'll start with our project setup. This time, we'll create a Windows console application.
The references that we'll need this time around are:
Microsoft.VisualStudio.Services.WebApi.dll
Microsoft.TeamFoundation.Common.dll
Microsoft.TeamFoundation.Framework.Server.dll
All of these can be found in C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\TFSJobAgent
on the TFS server.
That's all the setup that is required for your TFS job project. Any class that inherits ITeamFoundationJobExtension
will be able to be used for a TFS job.