is there any way that we c开发者_StackOverflowan tell visual Studio 2010 MSDeploy to ignore some of the files and folders withing the project? currently, the way I do is to exclude things from the project so that they won't be deployed.
as mercurial does, a file like .hgignore
would be great here.
You can do this by using the command line parameter -skip.
For directories:
-skip:objectName=dirPath,absolutePath=REGEX
For files:
-skip:objectName=filePath,absolutePath=REGEX
Hope this helps.
精彩评论