Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ForbiddenPatternsCheckinPolicy Sample contains one project. It demonstrates how to write a check-in policy for Visual Studio Team Foundation.
To build the project
In the Sample Browser, right-click C# Example.ForbiddenPatternsCheckinPolicy, and select Open in VS.
For any missing references, manually re-add a reference to those DLLs in the Common7\IDE\PrivateAssemblies folder of your Visual Studio install path.
Microsoft.TeamFoundation.VersionControl.Client
Open ForbiddenPatternsPolicy.cs.
This is the sample check-in policy.
Press F6 to build the sample.
Requirements
Team Foundation Server installation.
A computer that has Visual Studio installed.
A computer that has Team Explorer installed.
Demonstrates
Shows how to write a check-in policy for Version Control Server of Visual Studio 2005 Team System. The sample only enables files to be checked in that match a wildcard specification.
Source Files
ForbiddenPatternsPolicy.cs |
The sample check-in policy |
ForbiddenPatternsForms.cs |
A dialog box that accepts the wildcard for comparison |