有关使用TFS中存在的项目设置本地解决方案的问题 [英] Question about setting a local solution with projects that exist in TFS

查看:156
本文介绍了有关使用TFS中存在的项目设置本地解决方案的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TFS,我们的团队已经拥有一个包含138个项目的巨大解决方案。每天,我必须得到最新的建设 - 不用说它需要很长时间。
我只处理10个项目,这些项目与其他项目没有任何依赖关系。因此,我计划创建一个解决方案(在我的工作区中),并将现有的10个项目(已经在TFS中进行源控制)添加到此本地解决方案中。我应该像往常一样检查和检查(我认为)。
我几乎对TFS和VSTS一无所知所以请评论和建议。谢谢

In TFS, our team already have one huge solution with 138 projects.  Every day, I have to get latest and build -- needless to say it takes a long time.
I am working on only 10 projects and these don't have any dependencies on the other projects.  So I plan on creating a solution ( in my workspace) and add the existing 10 projects ( that are already source controlled in TFS) into this local solution.  I should be able to check out and check in as usual ( I think).
I practically know nothing about TFS and VSTS so please comment and advise.  Thanks

推荐答案

如果您只处理10个项目,则无需获取最新信息并构建解决方案中的所有项目。
您可以创建仅包含您正在使用的10个项目的解决方案。您的解决方案不一定是本地解决方案,它也可以进行eb签入,以便在必要时可以单独在服务器上构建。在源代码管理资源管理器中,该解决方案将显示为空,因为这10个项目也将成为原始解决方案的一部分,在这些解决方案中将显示它们。

如果您希望项目完全物理隔离,那么您可以从原始解决方案分支分支,并在仅包含这10个项目的新分支中创建单独的解决方案。分支时,所有项目都会出现在那个brnach中,你可以简单地删除那些不需要的项目。
If you are working on 10 projects only, you need not do get latest and build on all the projects in the solution.
You can create a solution having those 10 projects only on which you are working. Your solution need not be a local solution, it also can can eb checked in so that it can be separately built on the server if necessary. In the source control explorer that solution will be shown empty since those 10 projects will also be part of the original solution where physically they will be shown.

If you want total physical isolation of your projects then you can branch from the original solution branch and create a separate solution in the new branch containing those 10 projects only. When you branch all the projects will come in that brnach and you can simply delete the ones which are not required.


这篇关于有关使用TFS中存在的项目设置本地解决方案的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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