How to: Verify Version Control Changes

You can verify that version control settings for a process template are configured correctly by creating a new team project and using the following procedure.

Note

When you create the team project, make sure that you create a source control folder in the New Team Project Wizard. For more information, see How to: Create a Team Project.

If you can establish a connection to a Team Foundation Server and have the appropriate permissions, you can verify version control changes at a command prompt, batch file, or script file. To do this, you must either use the Visual Studio 2008 Command Prompt utility or set several environment variables in your current command prompt by using vsvars32 as described in the following procedure. For more information about joining a team project, see Walkthrough: Joining a Team Project.

To enable Team Foundation commands at a command prompt

  • Click Start, click All Programs, point to Microsoft Visual Studio 2008, point to Visual Studio Tools, and then click Visual Studio 2008 Command Prompt.

Alternatively, you can run vsvars32 in the Visual Studio installation path that is usually DriveLetter:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools.

Required Permissions

To perform this procedure you must be a member of either the Project Administrators or Server Administrators group.

If the necessary security permissions are set explicitly, you must have the Manipulate security settings permission on the team project set to Allow. For more information, see Team Foundation Server Permissions.

To verify version control settings

  1. In Team Explorer, right-click the new team project, point to Team Project Settings, and then click Source control.

  2. In the Source Control Settings dialog box, select the Check-out Settings tab.

  3. Make sure that Enable multiple check-out is either selected or cleared depending on how you defined the exclusive_checkout element. For more information, see Version Control Process Template Plug-in.

  4. Select the Check-in Notes tab.

  5. Make sure that each check-in note for the process appears and is appropriately marked as required or not required.

  6. Click OK to close the Source Control Settings dialog box.

  7. Open a Visual Studio command prompt.

  8. In the Command Prompt window, type tf permission /recursive $/ /s:<Team Foundation Server name> and press ENTER.

    View the permission list for the folder for your team project and verify that your permissions are specified correctly. For more information, see How to: Verify Groups and Permissions Changes.

See Also

Concepts

Version Control Process Template Plug-in