简体   繁体   中英

Checkout from TFS with MSBuild

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

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

'itemspec'可以是以空格分隔的项目列表,可以使用通配符。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM