I was trying to deploy a site by skipping App_Data folder. Because of business requirement I need few files in it.
How can I skip the folder.
I have used the following commands, it didn't help me out.
msdeploy -verb:sync -source:package=abc.Web.zip -dest:auto,computername="abc.local",username="abc",password="abc" -setParam:kind=ProviderPath,scope=iisApp,value="abc.com" -allowUntrusted
-skip:objectName=dirPath,absolutePath=.App_Data.,skipAction=delete
I have tried many Permutations and combinations.
I appreciate if someone can help me out. Thanks in advance.