我刚将TFS项目添加到我的vs2012 pro试用版中,有两个问题:
1 - 当我尝试将一个现有项添加到源控制的项目中时,我会得到以下消息:
"You are attempting to add an item to a source-controlled project, but the item's path has no mapping. If you continue with the add, this item will not be added to source control. Do you wish to proceed with the add?"(你正在试图将一个项添加到源控制的项目,但该项的路径没有映射。如果您继续进行添加,则此项将不会添加到源控制中。您是否希望继续添加?)
在我的工作环境中,这似乎不是问题。
2 - 我无法将文件从解决方案资源管理器拖到我正在工作的当前文档上。
例如,如果我尝试将JS文件拖动并放入正在进行的HTML文档中,什么也不会发生。这在普通项目上有效,因此我猜它是一些设置问题。
以下是我TFS项目的一些设置。
Team > Team Project Settings > Source Control > Enable multiple check out未选中
Team > Team Project Collection Settings > Source Control > Workspace Settings > Server默认选中。
我使用这些设置,因为我希望在一个人编辑它们时锁定文件。
有没有修复这些问题的任何提示?
谢谢,
Ankeet