Ignore folders in solution compare with Beyond Compare
Asked Answered
A

2

18

I am trying to compare two large Visual Studio 2010 solutions using Beyond Compare. These solutions have 60 projects, the only way I can find to ignore differences in the bin and obj folders of each project is by right-clicking these in the compare results window. I don't want to have to do this 60 times, so is there any other way I can tell Beyond Compare to ignore these folders in each solution?

Adnopoz answered 6/12, 2010 at 15:12 Comment(0)
B
25

This is for version 3,

While you are comparing two folders you can go the menu Session->Session settings and go to the tab named Name Filters. There are several boxes to include or exclude files or folders; locate the one on the bottom right and on each line you can declare the folders that you want to exclude. There is an important combo box on the lower left corner where you can specify if you are going to use this settings for just this time or to use them everytime.

Another way to do this is simple look for the File Filters Toolbar (the one with a combo box and a pair of icons with a pair of glasses), in this combo box you can set your filter, for example -bin\;-obj\ and this will exclude the bin and obj folders.

Brey answered 6/12, 2010 at 15:30 Comment(1)
For lazy copy-pasters like me. Here's some filters that are a bit more flushed out: -*.suo;-*.dbmdl;-*.user;-bin\;-obj\;-TestResults\;-debug\;-release\Hardnosed
S
5

I know this is old, but I came here looking for the same info for version 4.

Version 4 supports the same functionality but expose on the top toolbar in the session, just add the same -bin\;-obj\ in the "Filters:" text box:

enter image description here

Seow answered 3/10, 2019 at 9:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.