title: Why do I get the error "The item ... may not be cloaked because it does not have a mapped parent" when trying to cloak a sub-sub-folder from a build?
body: <p>I'm using TFS 2015 to build a C# solution. Deep within the folder structure of this solution are folders containing certain large non-code data files. I would like some builds to <em>include</em> these, and some builds to <em>exclude</em> them.</p>
  
  <p>Using the TFS 2015 web interface, I set up the build that should <em>exclude</em> these files. I then use the <code>Repository</code> tab and add the data folders to the Mappings section with a <code>Cloak</code> type mapping.</p>
  
  <p>However, when I then queue this build, it fails with "The item ... may not be cloaked because it does not have a mapped parent".</p>
  
  <p>The top-level folder in the code repository is mapped, of course. Why is TFS complaining about this, and what can I do about it?</p>