问题描述
我想在Visual Studio Online上设置连续集成,但我遇到了一个奇怪的错误:
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)
我的构建项配置是:
构建默认值步骤配置为:
The 'Build defaults' step is configured as:
我必须承认,我有点在这里的空白 - 我做错了什么?
I must admit, that I am a bit in the blank here - what am I doing wrong?
推荐答案
您收到错误,因为您没有$ / [collection] \drops映射,因此无法掩盖它。
You are getting the error as you don't have $/[collection]\drops mapped and thus can't cloak it.
还值得指出的是,你需要在路径中有一个$ [collection] [teamProject],因为drops在该级别无效,除非你有一个名为drops 。
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.
此外,复制到源代码控制已被弃用,没有任何新工具将使用它。您应该使用复制到服务器,而不是在TFS中将构建输出存储为zip,而不是在版本控制中。
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.
这篇关于项目$ /< myproject> / Drops可能不会被隐藏,因为它没有映射的父级。 (类型WorkingFolderException)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!