首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Download or Upload an Office Project Field Mapping File

Posted on 2010-04-14 16:40  饭后爱  阅读(306)  评论(0编辑  收藏  举报

Link: http://msdn.microsoft.com/en-us/library/ms404687(v=VS.100).aspx

In order to make changes to the Office Project field mapping file, you must first download it from the server where your team project is defined. You use the TFSFieldMapping command to download or upload the Office Project field mapping file for your team project. For more information, see TFSFieldMapping.

Required Permissions

To perform these procedures, you must be a member of the Project Administrators group or have your Edit project-level information and your View Project-level information permissions set to Allow. Additionally, you must have permissions to create the mapping file in the local path that you specify. For more information, see Team Foundation Server Permissions.

To download the mapping file for a team project
  1. Open a Command Prompt window, and change to the following directory:

    Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

  2. Download the mapping file by typing the following command at the command prompt:

    TFSFieldMapping download /collectionURL:TeamFoundationServerURL/teamproject:TeamProject/mappingfile:MappingFile

    Where:

    • TeamFoundationServerURL is the URI of the team project collection where the team project is defined.

    • TeamProject is the name of your team project.

    • MappingFile is the file name and location where the mapping file will be downloaded.

      NoteNote

      If a name contains spaces, enclose the name in quotes.

To upload the mapping file for a team project
  1. Open a Command Prompt window and change to the following directory:

    Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

  2. Upload the mapping file by typing the following command at the command prompt:

    TFSFieldMapping upload/collectionURL:TeamFoundationServerURL/teamproject:TeamProject/mappingfile:MappingFile

    Where:

    • TeamFoundationServerURL is the URI of the team project collection where the team project is defined.

    • TeamProject is the name of your team project.

    • MappingFile is the file name and location from where the mapping file will be uploaded.