开发者

Keep the Visual Studio publisher tool from copying .svn folders?

开发者 https://www.devze.com 2023-01-13 12:13 出处:网络
Whenever I publish my web application I select \"only fi开发者_StackOverflow中文版les needed to run application\". Upon publishing then it all works fine except for the bin/ folder contains a.svn fold

Whenever I publish my web application I select "only fi开发者_StackOverflow中文版les needed to run application". Upon publishing then it all works fine except for the bin/ folder contains a.svn folder. Is there a way to keep it from copying the .svn folder?


No I do not believe this is possible. The standard way of hiding a folder or file from the publisher is to prefix the folder name with a _ (yes that really is the case). IIRC this would break .svn and hence tarnish your enlistment.

I do want to ask why do you have a .svn folder inside bin\? This folder should only contain the binary outputs of the build process and other generated artifacts. Typically it's not the type of stuff you include in source control.

0

精彩评论

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

关注公众号