visual studio 2010 - How do I keep MSDeploy from deleting extra folders in my project? -


i using msbuild runner in team city build , deploy project staging environment. works except fact keeps removing repository folder located in root of project.

in visual studio 2010 there check box in publish profile dialog says "leave files on destination (do not delete)"

is there way accomplish same thing msbuild?

<target name="deploy" dependsontargets="build;test">         <msbuild projects="myproject.sln" properties="configuration=$(configuration); username=username; password=password; deployonbuild=true; deploytarget=msdeploypublish; msdeploypublishmethod=wmsvc; msdeployserviceurl=https://devweb01:8172/msdeploy.axd; deployiisapppath=myproject.$(configuration); allowuntrustedcertificate=true;"/> </target> 

found answer!

all need add following property properties attribute:

skipextrafilesonserver=true;


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -