Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Team Foundation Server 2015 Customization

You're reading from   Team Foundation Server 2015 Customization Take your expertise to the next level by unraveling various techniques to customize TFS 2015

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785888199
Length 208 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Gordon Beeming Gordon Beeming
Author Profile Icon Gordon Beeming
Gordon Beeming
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Creating a Dashboard and a Welcome Page FREE CHAPTER 2. Streamlining Your Teams' Boards 3. Customizing Your Process Template 4. Enhanced Work Item Forms with Field Custom Controls 5. The Guide Standards for Check-in Policies 6. Enforcing Standards with Server-Side Plugins 7. Customizing the TFS Build 8. Creating TFS Scheduled Jobs 9. Service Hooks 10. VSO Extensions Index

The project setup


The first thing that you'll need to create in a check-in policy is a new Class Library project. Let's call it BigChangesPolicy:

Figure 1: A new class library project for a new check-in policy

Then, the only reference you need is Microsoft.TeamFoundation.VersionControl.Client.dll, which you can find in your assemblies list. But if you don't—for some reason—then, as before, navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and search Microsoft.TeamFoundation.VersionControl.Client.dll.

Even though we don't really need it, let's add a reference to System.Windows.Forms.dll so that we can use the MessageBox class. Let's rename Class1.cs to BigChangesCheckInPolicy.cs. At this point, our project should look like what is shown in the following screenshot:

Figure 2: The current project layout

That's all that is required for the project setup.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime