“No appropriate mapping exists” error while unshelving shelveset in TFS

前端 未结 3 396
星月不相逢
星月不相逢 2021-01-07 16:14

I am using TFS 2012. In TFS there are more than 15 users. When I try to unshelve a shelveset files it shows error as shown below

3条回答
  •  無奈伤痛
    2021-01-07 16:41

    Check the workspace you have selected in Team Explorer > Pending Changes. You must have a workspace selected that has a mapping which includes the server path of the file you are trying to unshelve.

    (Note: make sure you are using the workspace mapping in Team Explorer, NOT the workspace shown in Source Control Explorer.)

    Pending Changes

    So if the file on shelveset is: $/TFS/Main/File1.cs, you need to have a workspace selected with a mapping that includes that file or one of its parent folders (e.g. $/TFS/Main)

    I have multiple workspace for different branches and usually see this error when I try to unshelve into "Main" workspace when my "Feature Branch" workspace is selected.

提交回复
热议问题