I am running Automatic Builds with TFS 2010. In a solution I have more than one web applications which are all located under the same root directory - e.g.:
RootDir ->
WebApplicationProject1.csproj
WebApplicationProject2.csproj
...
When I run automated build, I set the following arguments for MSBuild:
/p:DeployOnBuild=true;DeployTarget=PipelinePreDeployCopyAllFilesToOneFolder;_PackageTempDir="\computer\Builds\Published" /p:SkipExtraFilesOnServer=true
However MSBuild does not preserve existing content in this folder and with each project the content in this folder is being deleted. The last project to be built is the winner.
Can I make MSBuild not to delete the content in this folder and only replace existing files?
Thanks for any information on this matter.