开发者

Problem with TortoiseSVN Global Ignore pattern for a Visual Studio project

I'm running....

TortoiseSVN 1.6.11, Build 20210 - 64 Bit Windows 7 64 Bit Visual Studio 2008

I've created a repository, done an SVN Checkout, and created a new VS solution开发者_如何转开发 with a new project.

Next I tried to commit my changes and noticed that contents of the "bin" and "obj" directories are included in the list of items to check in.

So, I thought I would add the following expression....

*.suo *.user bin obj *.pdb *.cache *_svn *.svn *.suo *.user *.build-res TestResults _ReSharper*

.....as suggested in this previous question, but no joy.

What am I doing wrong????

Just to clarify, I have been right clicking the root folder of my working directory then > TortoiseSVN > Settings and adding the expression above to the "SubVersion Global Ignore Pattern"

Any help appreciated.

Many thanks,

ETFairfax

More Info: It's just folder references that are not working. If I put in *.dll all dlls are omitted from the list, but I'd like to be able to put in a reference to all "bin" directories if possible.


Here's mine if that helps [VS2010, c#, resharper]

bin obj doc *.user *.suo _ReSharper.*


Try putting each entry on a separate line. Here is an example of what I use:

bin  
obj  
*.suo  
*.user  
*.bak  


Patterns aside - make sure you restart SmartSVN application. Otherwise you won't see any effect - even though your patterns may be correct.


Bumping an old question, as the current answer has some issues.

*\bin *\bin* *\obj *\obj* *.suo *.user .bak .ReSharper *_ReSharper.** StyleCop.Cache

taken from here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜