Solved: “This item cannot be added because its destination path is cloaked.”

You may run into this error message while trying to add a project to Team Foundation Server:

This item cannot be added because its destination path is cloaked.

Resolution

The reason you are getting this message is that the parent folder in TFS is not recursively mapping the folders. In order to solve it, you can make parent folder “Recursive“. Here are the steps for Visual Studio 2013:

  1. Right click the parent node in TFS
  2. Click the “Advanced
  3. Click “Remove Mapping
  4. Check the box, “Recursive
  5. Click “Change” button
  6. In “Consolidate Mappings” window, click “Yes
  7. In the next window (“Newly mapped items will not be downloaded until you execute a get. Do you want to get $/[PARENT PATH] now?”), click “No

Source: http://thecurlybrace.blogspot.com/2011/02/fix-tfs-cloaked-path-problem.html

2 thoughts on “Solved: “This item cannot be added because its destination path is cloaked.”

Leave a Reply