Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 14, 2011 10:08 AM by XiaoCheng Fan - MSFT
Mar 10, 2011 12:33 PM|LINK
I have just finished my automatic build on TFS 2010. Now I need to copy the WCF Web Service output from the subfolder _PublishedWebSites in the build drop folder over to my application folder in the IIS wwwroot-folder.
This is just a simple xCopy really but how do I insert that into the TFS build process? I have a modified BuildTemplate (XAML) where I have some custom activities. I guess the xcopy-thingy should be placed somewhere after the "copy to drop folder"-something?
And how do I use xcopy in a custom activity? InvokeProcess?
Any help would be great!
Mar 14, 2011 10:08 AM|LINK
As far as I know, yu can try to add a copy task in AfterBuild action:
<Copy SourceFiles="@(MySourceFiles)" DestinationFiles="@(MySourceFiles->'c:\MyDestinationTree\%(RecursiveDir)%(Filename)%(Extension)')" />
For more details:
I hope this can be helpful for you.