The project setup
The aim of this plugin will be to enforce the logic that we created in Chapter 5, The Guide Standards for Check-in Policies, with our check-in policy, instead of having it optional by allowing users to override it.
As usual, we'll start with checking the minimum requirements before you start implementing your own custom logic. Start off by creating a Class Library project, as shown here:
Add references to the following .dll
files, all of which can be found on the TFS application tier server at the C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\bin
path:
Microsoft.TeamFoundation.Common.dll
Microsoft.TeamFoundation.Client.dll
Microsoft.TeamFoundation.VersionControl.Client.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.dll
Microsoft.TeamFoundation.WorkItemTracking.Server.dll
Microsoft.TeamFoundation.Framework.Server.dll
Microsoft.TeamFoundation.VersionControl.Server...