Checkout from TFS with MSBuild

谁说胖子不能爱 提交于 2019-12-18 19:01:46

问题


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


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/224460/checkout-from-tfs-with-msbuild

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!