TFS磁盘结构-和“添加新文件夹”与“添加解决方案” [英] TFS Disk Structure - and "Add new folder" vs "Add solution"

查看:261
本文介绍了TFS磁盘结构-和“添加新文件夹”与“添加解决方案”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的组织最近已准备好TFS 2008设置以供我们使用。我有一个练习TeamProject可以玩。

Our organization recently got TFS 2008 set up ready for our use. I have a practice TeamProject available to play with.

为简化起见,我们之前在磁盘上的代码如下:

To simplify slightly, we previous organized our code on disk like this:

-EC
  - Main
     - Database
         - someScript1.sql 
         - someScript2.sql 
     - Documents
         - ReleaseNotes_V1.doc 
     - Source
        - Common
           - Company.EC.Common.Biztalk.Artifacts [folder]
           - Company.EC.Common.BizTalk.Components [folder]
           - Company.EC.Common.Biztalk.Deployment  [folder]
           - Company.EC.BookTransfer.BizTalk.sln
        - BookTransfer
           - Company.EC.BookTransfer.BizTalk.Artifacts [folder]
           - Company.EC.BookTransfer.BizTalk.Components [folder]
           - Company.EC.BookTransfer.BizTalk.Components.UnitTest [folder]
           - Company.EC.BookTransfer.BizTalk.Deployment [folder]
           - Company.EC.BookTransfer.BizTalk.sln

我要决定,是否要检查整个c:\EC目录?
还是我想打开每个解决方案并签入。各自的优缺点是什么?
似乎通过执行添加文件/文件夹选项,我可以立即检查所有内容,并且它将与磁盘结构匹配。

I'm trying to decide, do I want to check in the entire c:\EC directory? Or do I want to open each solution and checkin. What are the pros and cons of each? It seems like by doing the "Add Files/Folder" option, I could check in everything at once and it would match the disk structure.

如果我分别签入每个解决方案,这似乎还可以在Workspace中创建另一个工作文件夹。我想如果我通过添加文件/文件夹进行签入,那么我将只有一个工作区,那会更好。

It also looks like that if I check in each solution separately, that creates another working folder in my Workspace. I think if I check in by "add files/folder", I will have one workspace and that would be better.

但是我看到的大多数书籍和示例都涉及检入项目和解决方案。

But most of the books and samples I see talk about checking in projects and solutions.

P.S。我知道我需要根据分支/合并准则在磁盘结构中添加更多内容,但这不是我在这里要问的问题。

P.S. I know I need to add more to my disk structure in accordance with the Branch/Merge guidelines, but that is not the question I'm asking here.

谢谢,
Neal Walters

Thanks, Neal Walters

推荐答案

很好在解决方案资源管理器之外签入(例如从Source Control资源管理器中)。这样做的缺点是,解决方案最初不会绑定到源代码控制。下次有人要检出其中一个文件时,他们将必须手动(通过对话框)绑定到源控制服务器。

It's fine to check in outside of the solution explorer (e.g. from the Source Control explorer). The one downside if you do that is that your solutions will not initially be bound to source control. The next time someone would check out one of those files, they would have to manually (through a dialog) bind to the source control server.

如果数量有限解决方案中,将解决方案添加到源代码管理中是可行的。但是,请确保将这些文件放在映射到当前工作空间的目录中。

If you have a limited number of solutions, adding the solution to source control is feasible. However, make sure that you have those files in a directory mapped to your current workspace.

这篇关于TFS磁盘结构-和“添加新文件夹”与“添加解决方案”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆