TF.EXE 命令不包括可执行 (*.DLL) 文件

TF.EXE command excluding executable (*.DLL) files

我正在使用 TF.EXE 实用程序将一些构建输出自动移动到 TFS 中,作为我们自动构建过程的一部分。

命令行如下:

tf.exe add C:\Output\*.* /recursive /noprompt
tf.exe checkin C:\Output\*.* /recursive /noprompt

一切都很好,除了其中一个输出文件具有 .dll 扩展名的问题。最初这个文件如你所料被拾取,然后到最后它打印这个有用的消息:

Items matching the following exclusions were ignored: *.dll

我发现解决方案是在 add 命令中包含 /noignore 开关,如下所示:

tf.exe add C:\Output\*.* /recursive /noignore /noprompt