使用 MSBuild 从 TFS 结帐 [英] Checkout from TFS with MSBuild

查看:24
本文介绍了使用 MSBuild 从 TFS 结帐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 MSBUILD 从我们的 TFS 检出文件的最简单方法是什么?

What's the easiest way to checkout a file from our TFS with MSBUILD.

据我所知,它是对 TF.EXE 进行 shell 并手动调用 checkout 命令.真的没有内置命令吗?!

From what I can see it's to shell out to TF.EXE and manually call the checkout command. Is there really no built in command?!

推荐答案

确实没有内置命令.更糟糕的是,tf checkout 命令只接受单个文件规范.

There really is no built in command. Even worse, the tf checkout command only accepts a single filespec.

最近发布的 MSBuildExtensionPack 有一些用于 TFS 的 msbuild 命令,但没有性能提升.在幕后,他们向 tf.exe 发起攻击

The recently released MSBuildExtensionPack has some msbuild commands for TFS, but no perf gain there. Under the hood, they shell out to tf.exe

这篇关于使用 MSBuild 从 TFS 结帐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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