如何在 TFS 2010 中进行桌面构建?

发布于 2024-10-15 06:40:13 字数 189 浏览 7 评论 0原文

我知道简短的答案是“你不能”。桌面构建不再是 TFS 2010 的一部分。

但是,我认为如果我在计算机上安装构建代理,并将 WF 定向到,我可以以某种方式实现获取最新版本或架子集,并使用现有工作区,我应该能够伪造它。

问题是理论和实践之间我的知识差距很大。谁能想到一种可行的方法吗?

I know that the short answer is "you can't". Desktop builds are no longer a part of TFS 2010.

However, I figure that I can somehow, if I install a build agent on my machine, and direct the WF to not get the latest version or a shelveset, and use the existing workspace, I should be able to fake it.

The problem is that between the theory and practice is a large gap in my knowledge. Can anyone think of a way this could work?

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

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

发布评论

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

评论(2

昨迟人 2024-10-22 06:40:13

您到底想要实现什么目标?为什么不在您的计算机上设置构建代理并配置增量构建以在其上运行?您可以通过“队列构建”对话框将搁置集传递到其中,或使用单独的分支将您的源与其他团队分开。

What is it, exactly, that you're trying to accomplish? Why not just setup a build agent on your machine and configure an incremental build to run on it? You could pass shelvesets into it via the Queue Build dialog or use a separate branch to keep your sources separate from the rest of your teams.

待天淡蓝洁白时 2024-10-22 06:40:13

我终于想出了一个解决方案:

想要本地构建(即桌面构建)的客户端需要安装构建控制器构建代理 在他的台式机上。然后他需要选择用于构建的控制器。

在构建模板中,需要删除Get活动,并且需要将创建工作区活动替换为获取工作区,以使用现有的。

最后,删除复制到放置文件夹的命令。您正在本地构建。没有必要。

阿萨夫

I finally came up with a solution:

A client that wants to build locally (i.e. desktop-builds) needs to install a Build Controller and Build Agent on his desktop machine. Then he needs to pick that controller for the build.

In the build template, the Get activity needs to be deleted, and the Create Workspace activity needs to be replaced with a Get Workspace, to use an existing one.

Finally, remove the command to copy to a drop folder. You're building locally. Not necessary.

Assaf

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