I have a msdeploy in my nant script(Team City) that is working except it is copying some folders that I do not want to copy. What command will skip these directories? I tried:
<arg value="-skip:objectName=dirPath,absolutePath=C:\Websites\slingshotportal\Build scripts"' />
and
<arg value='-skip:objectName=contentPath,absolutePath="C:\\Websites\\slingshotportal\\Build scripts"' />
None of these commands seem to work and the Build scripts directory is still copied fromm source directory to destination directory? The msbuild does a sync and I specify both -source and -dest as contentPath.