Checkout from TFS with MSBuild

2019-02-12 00:20发布

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

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?!

标签: tfs msbuild
2条回答
手持菜刀,她持情操
2楼-- · 2019-02-12 00:45

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

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

查看更多
放荡不羁爱自由
3楼-- · 2019-02-12 00:54

the 'itemspec' can be a list of space-delimited items and can use wildcards.

查看更多
登录 后发表回答