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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -