Download or Upload an Office Project Field Mapping File
Posted on 2010-04-14 16:40 饭后爱 阅读(307) 评论(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
-
Open a Command Prompt window, and change to the following directory:
Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
-
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.
Note
If a name contains spaces, enclose the name in quotes.
-
To upload the mapping file for a team project
-
Open a Command Prompt window and change to the following directory:
Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
-
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.
-
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步