- Open the project settings, and then click TFS under the Version Control node.
-
On the TFS page, that opens, select the applicable checkboxes in the Checkin policies compatibility area.
- Evaluate Team Explorer policies: select this check box to have the Microsoft Team Explorer policy definitions installed and executed on the client machine.
- Evaluate Teamprise policies: select this check box to have the Teamprise policy definitions installed and executed on the client machine.
- Warn about not installed policies: select this check box to have warnings displayed in case the specified policy definition is not installed.
- Open the project settings, and then click TFS under the Version Control node.
- On the TFS page, that opens, click the Manage button in the Servers and Workspaces area.
- In the Manage TFS Servers and Workspaces dialog box, that opens, select the project in question from the Team project drop-down list.
- In the Compatibility area, select the Override default settings for team project <project name> check box.
-
Re-define the default settings by selecting or clearing the corresponding check boxes below.
- Evaluate Team Explorer policies: select this check box to have the Microsoft Team Explorer policy definitions installed and executed on the client machine.
- Evaluate Teamprise policies: select this check box to have the Teamprise policy definitions installed and executed on the client machine.
- Warn about not installed policies: select this check box to have warnings displayed in case the specified policy definition is not installed.
The list of available policies consists of standard third-party policies and custom, user-defined policies.
- Open the project settings, and then click TFS under the Version Control node.
- On the TFS page, that opens, click the Manage button in the Servers and Workspaces area.
- In the Manage TFS Servers and Workspaces dialog box, that opens, select the required workspace and click the Checkin Policies button.
-
In the Edit Checkin Policies dialog box, that opens, configure the list of policies:
- To activate a policy, select the Enabled check box next to it.
- To suppress a policy, clear the Enabled check box next to it.
- To discard a policy permanently, select it in the list and click the Remove button.
-
Implement the required policy as a custom plugin
.
- Download, install, and enable the plugin.
