简体   繁体   English

使用MSBuild从TFS结帐

[英]Checkout from TFS with MSBuild

What's the easiest way to checkout a file from our TFS with MSBUILD. 使用MSBUILD从TFS签出文件的最简单方法是什么?

From what I can see it's to shell out to TF.EXE and manually call the checkout command. 从我可以看到它是shell到TF.EXE并手动调用checkout命令。 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. 更糟糕的是,tf checkout命令只接受单个filespec。

The recently released MSBuildExtensionPack has some msbuild commands for TFS, but no perf gain there. 最近发布的MSBuildExtensionPack有一些针对TFS的msbuild命令,但没有针对TFS的增益。 Under the hood, they shell out to tf.exe 在引擎盖下,它们向tf.exe发出外壳

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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