"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
精彩评论