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.
加载中,请稍侯......
精彩评论