忽略解决方案中的文件夹与 Beyond Compare 进行比较
我正在尝试使用 Beyond Compare 来比较两个大型 Visual Studio 2010 解决方案。这些解决方案有 60 个项目,我能找到忽略每个项目的 bin 和 obj 文件夹差异的唯一方法是在比较结果窗口中右键单击这些文件夹。我不想这样做 60 次,那么有没有其他方法可以告诉 Beyond Compare 忽略每个解决方案中的这些文件夹?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是针对版本 3 的,
当您比较两个文件夹时,您可以转到菜单“会话”->“会话设置”,然后转到名为“名称过滤器”的选项卡。有几个框可以包含或排除文件或文件夹;找到右下角的那个,在每一行上您可以声明要排除的文件夹。左下角有一个重要的组合框,您可以在其中指定是仅这次使用此设置还是每次都使用它们。
另一种方法是简单地查找文件过滤器工具栏(带有组合框和一对带有一副眼镜的图标的工具栏),在此组合框中您可以设置过滤器,例如
-bin\ ;-obj\
这将排除 bin 和 obj 文件夹。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.我知道这是旧的,但我来这里寻找版本 4 的相同信息。
版本 4 支持相同的功能,但在会话中的顶部工具栏上公开,只需添加相同的
-bin\;-obj\< /code> 在“过滤器:”文本框中:
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: