TFS-仅在解决方案中分支一个项目

发布于 2025-02-11 02:51:33 字数 517 浏览 2 评论 0 原文

我在VS 2017中有解决方案包含4个项目 - ASP.NET项目,Windows Form Project,SSIS项目和控制台项目。现在,在Winform项目中,我们将添加许多新功能,我们计划在9-10个月后发布这些功能,因此我想为Winform Dev Branch创建一个分支。这是我的解决方案和文件夹结构...

MySol
   MySln.sln
   ConsoleApp
   WebApp
   WinForm     (Main)
   WinnFormDev (Branch)
   SSIS Pkges

我成功创建了开发分支,但是当我在VS中打开解决方案时,我看不到Dev Branch,因此无法进行任何更改。我的目标是在开发部门工作,在9-10个月的开发过程中,我可能必须对Winform Main分支和其他项目进行一些更改,我将始终合并Winform Dev中的这些更改,一旦在Dev Branch中添加了所有新功能( 9-10个月后)我将合并到Main中,然后脱离Dev Branch。这可能吗?还是我必须分支整个解决方案?

I have solution in VS 2017 contains 4 projects - asp.net project, windows form project, SSIS project and console project. Now in WinForm project we are going to add lots of new features which we plan to release after 9-10 months, so I am thinking to create a branch for WinForm Dev branch. Here is my solution and folder structure...

MySol
   MySln.sln
   ConsoleApp
   WebApp
   WinForm     (Main)
   WinnFormDev (Branch)
   SSIS Pkges

I successfully created Dev branch but when I open a solution in VS, I don't see my Dev branch so I can't make any change. My goal to is work in Dev branch and I may have to make some changes in WinForm main branch and other projects during 9-10 months development, I will always merge those changes in WinForm Dev, once all new features are added in Dev branch (after 9-10 months) I will merge into main and get rid off Dev branch. Is this possible? or I have to branch whole solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫﹏色ふ单纯 2025-02-18 02:51:33

您可以在本地的开发分支上进行更改。

例如,我身边有两个分支:

”“在此处输入图像说明”

在Visual Studio中,您可以首先克隆存储库,然后在此处选择Dev Branch:

​“ https://i.sstatic.net/ldg3z.png” rel =“ nofollow noreferrer”>

“在此处输入图像描述”

You can make changes in the Dev branch on local.

For example, I have two branches on my side:

enter image description here

In Visual Studio, you can first clone the repository, and then select the Dev branch here:

enter image description here

enter image description here

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文