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

我们两清 提交于 2019-12-11 01:29:58

问题


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:

The 'Build defaults' step is configured as:

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


回答1:


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.




回答2:


I received the same error from a build definition created by configuring Continuous Integration from within an Azure Web App (App Service). The cloaked "Drops" folder was set to be created under $/[project]/Drops instead of under $/[project]/[solutionfolder]/Drops.

Once I manually changed the build definition (Edit > Repository > Mappings) to manually include the [solutionfolder] the build started working.



来源:https://stackoverflow.com/questions/30027915/the-item-myproject-drops-may-not-be-cloaked-because-it-does-not-have-a-mappe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!