Search code examples
continuous-integrationtfsbuildazure-devops

The item $/<myproject>/Drops may not be cloaked because it does not have a mapped parent. (type WorkingFolderException)


I am trying to set up Continuous Integration on Visual Studio Online, but I am getting a strange error:

Exception Message: The item $/<mycollection>/Drops may not be cloaked 
  because it does not have a mapped parent. (type WorkingFolderException)

My configuration of the build item is this:

Configuration of Source Settings

The 'Build defaults' step is configured as:

Configuration of Build defaults

I must admit, that I am a bit in the blank here - what am I doing wrong?


Solution

  • You are getting the error as you don't have $/[collection]\drops mapped and thus can't cloak it.

    It is also worth point out that you need to have a $[collection][teamProject] in the path as "drops" is not valid at that level unless you have a team project called drops.

    In addition the "copy to source control" has been deprecated and none of the new tools will use it. You should use "copy to server" instead that stores the build output as a zip in TFS but not in version control.