开发者

In TFS Build (MSBuild), how can I only have a specifc project in my drop folder

"Out of the box" the build in TFS will compile a complete solution and put all the "deliverables" from all its project into the drop folder.

How can I have only the deliverables from a single "main" project end up in the drop folder, why still havin开发者_开发问答g all other projects (which it depends upon) compiled?


Not quite sure if this is what you want, but try:

<Target Name="AfterBuild">
    <Copy SourceFiles="c:\drop\myfile.dll"  DestinationFiles="c:\temp"  />
    <Delete Files="c:\drop\myfile.dll" />
</Target>

Basically, moving them away from the drop location after build.


You need to create a separate Solutions for your projects. So then you can control which project should go to Drop Folder in one of the solutions and those that do not in another solution

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜