开发者

msdeploy ignore like .hgignore

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜