I am using TeamCity to launch MSBuild to deploy the .NET website that we have. The site uses Sitecore CMS, which includes three folders, several hundred files (and mbs), which should be in the root folder of the main site.
MSBuild is currently deleting the entire web root folder before deploying it. This causes two problems:
1) Our CMS is unavailable for ~ 2 minutes required for deployment 2) The actual deployment takes a long time because we have to run a batch script package to copy all these files to the web directory after deployment.
Is there any way that MSBuild does not delete the entire root directory before deployment or ignore some folders? Thanks!
source share