1

I'm using Team Foundation Services to manage two different solutions. They're both in DefaultCollection. If I open up Solution A in visual studio and make a change, Solution B shows this pending change in Team Explorer. Is this intended behavior? Can I change this so that the instance of VS with Solution B doesn't see anything from Solution A? It's concerning because I'm worried that files from SA are getting added to SB.

4

1 回答 1

1

欢迎来到 TFS 工作区的世界。解决方案 A 中的文件实际上并未添加到解决方案 B,但在 Visual Studio 中,您看到的是当前在您计算机上的 TFS 工作区中签出的所有文件的列表。这种行为是设计使然(如果您碰巧在 Visual Studio 之外编辑某些文件,实际上会非常有用)。

如果您愿意,Jesse 有一篇关于如何分离这些东西的优秀文章。基本上,您可以为每个解决方案定义一个单独的 TFS 工作区。

<shameless_plug>有关 TFS 工作区的更多信息,您可能还需要查看Professional Team Foundation Server 2012书。</shameless_plug>

于 2013-05-21T08:46:41.793 回答