开发者

TFS2010: Output Directory of completed build

I'm trying to get the path to the final output directory where the assemblies are copied to. For example: C:\Builds\My_Task\M开发者_运维问答y_Build.DATE.BUILDNUMBER (After a finished build, everything is located here)

Each of the macros $(OutDir) and $(TargetDir) points to a Directory called: C:\Builds\1\WorkspaceName\My_Task\Binaries

Does such a macro that points to the first described location exists? Or how can I get that path into a macro so that I can use it in my msbuild-scripts?


So I finally got around my Problem, but I didn't found a way to get the real drop location directly into an msbuild-Skript.

I found the following question, and editing the Build-Process template works fine: How can I get TFS 2010 to build each project to a separate directory?


Please try using the $(DropLocation) macro to point to C:\Builds\My_Task\My_Build.DATE.BUILDNUMBER and see how that works out for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜