Working with SharePoint Artifacts and Team Build, Copy without Compile

When using Team Build with SharePoint items, there are going to be times in build events where you want to take any number of SharePoint artifacts and configure them to copy in your build events to a separate TFS instance. This is extremely common in geographically disperse development environments where there are no full-fidelity migration schemes defined, and can even be useful

Sort of like a synchronization of artifacts. In order to do this, you have to do a couple things, first use the following command to build a destination workspace for your SharePoint artifacts:

[xml]




[/xml]

Then build out a “Get” Task to get the source.

[xml]






[/xml]

And you’re done!

Share

Leave a Reply

Your email address will not be published. Required fields are marked *