开发者

msdeploy ignore like .hgignore

开发者 https://www.devze.com 2023-03-15 09:13 出处:网络
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 pro

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

精彩评论

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