TFS 版本 2013 中的 DropLocation 变量在哪里? [英] Where is the DropLocation variable in TFS build 2013?

查看:17
本文介绍了TFS 版本 2013 中的 DropLocation 变量在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 DefaultTemplate11.1.xaml 的 TFS 2013.在 BeforeCompile 目标内部.

TFS 2013 using the DefaultTemplate11.1.xaml. Inside the BeforeCompile Target.

我正在尝试将 .proj 文件中的文件复制到放置位置,但变量 $(TF_BUILD_DROPLOCATION) 似乎不起作用.

I'm trying to copy files in my .proj file to the droplocation but the variable, $(TF_BUILD_DROPLOCATION) does not seem to work.

我尝试从 .proj 内部对其进行评估,但它使用 $(TF_BUILD_DROPLOCATION) 但它评估为空.我已经尝试将它作为来自 msbuild 参数的参数传递给 DropLocation=$(TF_BUILD_DROPLOCATION);但它不会计算并在脚本中显示为 $(TF_BUILD_DROPLOCATION).

I've tried evaluation it from inside the .proj but it with $(TF_BUILD_DROPLOCATION) but it evaluated to empty. I've tried passing it in as a parameter from the msbuild arguments with DropLocation=$(TF_BUILD_DROPLOCATION); but it doesnt evaluate and appears in the script as $(TF_BUILD_DROPLOCATION).

放置位置应该是我们的共享,并附加了内部版本号.

The drop location should be our share with the build number appended.

推荐答案

我应该更具体.我们正在使用 VSO,因此无法编辑该过程.所以答案是否定的,放置位置不可用.

I should have been more specific. We're working with VSO, hence the process can not be edited. So the answer is no, the drop location is not available.

我不得不使用 $(MyDropLocationRootParam)\$(BuildDefinition)\$(BuildNumber) 自己构建放置位置

I've had to construct the droplocation myself using $(MyDropLocationRootParam)\$(BuildDefinition)\$(BuildNumber)

这篇关于TFS 版本 2013 中的 DropLocation 变量在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆