DCSIMG
.NET 3.5,Source Control,Development,DEV - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » .NET 3.5 » Source Control » Development » DEV (RSS)
How To Create Custom Check-In Policy
How To Create Custom Check-In Policy Create a new Visual C# class library project. Add an assembly reference to System.Windows.Forms.dll . You use this assembly to display message boxes. Add an assembly reference to Microsoft.TeamFoundation.VersionControl.Client.dll. By default, this is installed in the following folder:\Program Files\Visual Studio 2008 Team Foundation Server\Tools Replace your skeleton class code implementation with the following source. Note that the class derives from the PolicyBase...