开发者

Get code of project being built and place into a directory

I want to write a TFS task which will get the code of the project being built and put it into a directory on the build agent for burning to a cd.

How could I get the code and put it into a directory?

Tha开发者_JS百科nks


Since the code being built is already being pulled down (so it can be built), you could simply use the Copy MSBuild task to copy the desired source code files to another folder. The root of the source code is available via the $(SolutionRoot) MSBuild property.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜