Answered how to copy only "_Publishedwebsites" to DropFolder?

  • Monday, September 10, 2012 5:27 PM
     
     

    Hi Everybody,


    I Have 9 solutions with more than 200 .csproj. 1 WebProject in each .SLN.

    After the sucessful build, the TFS creates one DLL for each csproj + _publishedwebsites folder.

     I wanna on my drop folder only the Output from my websites, not from my 200 .csproj.

    I´m using VSTS 2010 + TFS Build 2010.

    How can i get this?

    Thanks






    • Edited by Rafael Deus Monday, September 10, 2012 5:31 PM
    •  

All Replies

  • Monday, September 10, 2012 6:46 PM
     
     Answered

    You need to add “invoke process” activity to copy the files you like in the build process template. There are some threads in this forum. It is easy to find them.


    Thanks, Ray Lin

  • Monday, September 17, 2012 3:00 PM
     
     Answered

    Hi Rafael,

    Are you using single build definition to build all your 9 solutions?

    If yes then I would suggest you to create separate build definition for all your solutions if they are not dependent.

    Also, TFS build drops all the output dlls in Binaries folder and output of web applications inside _PublishedWebSites directory. 

    You have two options:

    1. Copy/refer output of your web application from _PublishedWebSites folder

    or

    2. Customize your build template which will result the way you want to see it.

    Hope  this helps.

    Shikhar jain

  • Tuesday, September 18, 2012 1:43 AM
    Moderator
     
     

    Hi Rafael,

    Is the issue solved?

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

  • Thursday, October 18, 2012 9:09 AM
     
     Answered

    You can resolve this by editing the XAML file as given below.


    working as an developer in asp.net 2.0