Using Beyond Compare with TFS

by EricSB 6. April 2010 04:22

A while ago I published an article but have since lost it, so I’ve decided to re-post it as the topic came up again today and I found myself hunting for the information. This time around I stumbled on a nugget of information in a different place that makes a big difference. 

For starters I found a blog post here by James Manning that contains a great post about setting up TFS to use Beyond Compare (and other comparison tools)

In order to configure Visual Studio to use Beyond Compare for a compare operation choose the following options: 

  1. Select: Tools –> Options –> Expand Source Control –> Choose “Visual Studio Team Foundation Server. 
  2. Select: “Configure User Tools.”
  3. Click the “Add” button.
  4. Enter “.*” in the “Extension” edit box.
  5. Choose “Compare” in the “Operation” combo box.
  6. Enter the path to BComp.exe in the “Command” edit box.
  7. Enter the command line parameters from the table below.

To configure TFS to use Beyond Compare for a merge operation follow the same steps above but choose “Merge” for the operation instead and provide the correct merge command line in the table below the compare table.

*Remember: Beyond Compare 3 Pro supports 3 way merging and the standard edition of it does not.  Also 3 way merging is new to Beyond Compare as of version 3, so this feature is not present in version 2 of the product.

To summarize the following command line parameters are ones I’ve found to be of the most use:

Compare

Product Command Arguments
TFS (Default) diffmerge.exe %1 %2 %6 %7 %5 /ignorespace
Beyond Compare 2 BComp.exe %1 %2 /title1=%6 /title2=%7

Merge

Product Command Arguments
TFS (Default) diffmerge.exe /merge %1 %2 %3 %4 %6 %7
Beyond Compare 2 BComp.exe %1 %2 /title1=%6 /title2=%7
Beyond Compare 3 (Standard – no 3-way Merge) BComp.exe

%1 %2 /savetarget=%4 /title1=%6 /title2=%7

Beyond Compare 3
(Pro / 3-way merge)
BComp.exe %1 %2 %3 %4  /title1=%6 /title2=%7 /title3=%8 /title4=%9

Tags: ,

TechKnowBlog

Comments (31) -

jasmine cams Intimately, the post is in reality the freshest topic on this registry related issue. I concur with your conclusions and will eagerly look forward to your forthcoming updates. Saying thanks will not just be enough, for the wonderful clarity in your writing.

frequented
frequented United States
4/22/2010 12:52:10 AM #

Hola (| Bienvenida | Hi HI) (saltó por primera vez | delimitadas | saltó |) omiten aquí en Tech•Know | Using Beyond Compare with TFS su sitio, founde el (Google | Yahoo | Bing | ASK).  frequented Enviar noticia a mí 887Passini@o2.pl

aerodynamic
aerodynamic United States
4/22/2010 2:20:29 AM #

Tech•Know | Using Beyond Compare with TFS Gran blog deseando leer más de usted. Hola (| Bienvenida | Hi HI) (saltó por primera vez | delimitadas | saltó | omitido) aquí en su sitio, founde el (Google | Yahoo | Bing | ASK). Le agradezco de todo corazón por compartir esas palabras maravillosas conmigo. Hago uso de sus pensamientos en consideración. Es fantástico recibir un punto de vista neutral, para variar. Gracias de nuevo aerodynamic Envíeme noticias a Mcenany@yahoo.com

creative writing
creative writing United States
4/23/2010 12:50:56 AM #

Aw, this was a really quality post. In theory I'd like to write like this also - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get anything done

game kids
game kids Azerbaijan
4/23/2010 1:53:45 PM #

It's an amazing, thanks for sharing..

Stephen
Stephen Yemen
4/23/2010 4:33:20 PM #

nteresting post Smile Thanks for creating an excellent post about Microsoft Visual Studio.  You make some brilliant points Smile

Sharilyn Argulewicz
Sharilyn Argulewicz United States
4/24/2010 10:36:26 AM #

Good Post.  then the simillar post I found last Friday on google. Keep up the great work.

Shanti Hyder
Shanti Hyder United States
4/24/2010 11:55:01 PM #

Good Blog. Niftier then the simillar post I discovered last Thursday on google. Maintain the great work.

Arlen Altig
Arlen Altig United States
4/26/2010 8:43:00 AM #

Intresting post, i really enjoyed reading it. Smile

make a memory foam bed
make a memory foam bed United States
4/26/2010 8:43:18 AM #

Been reading your blog for a while now so I thought I would finally drop a comment. Lately I have become addicted to blogs I think. I will start reading a little and before I know it half the day is gone. I enjoy exploring all you have on your site, just amazed how infinite the topics can be out there.

diamond knife sharpeners
diamond knife sharpeners United States
4/27/2010 2:28:42 AM #

Thank you so much for your insight on Tech·Know | Using Beyond Compare with TFS , I totally agree with you. It is great to see a fresh outlook on this and I look forward to more.

Grover Reimann
Grover Reimann United States
4/28/2010 4:45:51 AM #

Fantastic Blog. Better then the simillar post I seen last week on AOL. Keep up the good work.

buy oral hcg
buy oral hcg United States
4/28/2010 9:27:46 AM #

It was to my best interest to bookmark and to stubmble!!

buy oral hcg
buy oral hcg United States
4/28/2010 4:24:13 PM #

It is to my enjoyment to stubmble and to post to yahoo!!!

creative writing
creative writing United States
4/28/2010 8:38:43 PM #

Hi. I just noticed that your site looks like it has a few code problems at the very bottom of your site's page. I'm not sure if everybody is getting this same bugginess when browsing your site? I am employing a totally different browser than most people, referred to as Opera, so that is what might be causing it? I just wanted to make sure you know. Thanks for posting some great postings and I'll try to return back with a completely different browser to check things out!

Jehannette Wolf
Jehannette Wolf United States
4/28/2010 9:33:41 PM #

Jehannette Wolf here. I was just considering about Tech·Know | Using Beyond Compare with TFS and your post actually helped out. Thanks!

Bernardo Ramelb
Bernardo Ramelb United States
4/30/2010 9:13:53 AM #

Hello, I really admire the look of your site. What design are you using?

Fredric Llams
Fredric Llams United States
4/30/2010 10:07:19 AM #

Totally digg your website. Today I stumbled upon another precious page containing game-torrents for WII, XBOX 360, PS2, PC and Nintendo DS. Gracias muchos!

metal roof
metal roof United States
4/30/2010 11:37:31 AM #

I think am just having some problems with subscribing to RSS feed here.

Chong Bruker
Chong Bruker United States
4/30/2010 2:05:17 PM #

My first comment. Found your blog a couple of times inadvertently. Yours is one of those blogs I could start reading and not know when to stop.

metal roof
metal roof United States
4/30/2010 4:41:24 PM #

I think am just having some problems with subscribing to RSS feed here.

Biology Tutor
Biology Tutor United States
5/1/2010 2:33:51 AM #

Im very interested in this matter and I myself do alot of research as well. Either way it was a well thoughtout and nice read so I figured I would leave you a comment. Feel free to check out my website sometime and let me know what you think.

Florida dui lawyers
Florida dui lawyers United States
5/1/2010 3:25:07 AM #

I thought it was going to be some boring old post, but it really compensated for my time.

Pro Loan mod
Pro Loan mod United States
5/1/2010 1:28:19 PM #

This is the first I've seen this stuff, however it's better put like this.  Ya know?  Been going crazy trying to find how or where is the best place to learn about how to prepare for this.

Lyndsey Ortga
Lyndsey Ortga United States
5/1/2010 3:24:45 PM #

Cool, there is actually some great ideas on here some of my subscribers may find this relevant, I will send them a link, many thanks.

Lose The Back Pain
Lose The Back Pain United States
5/5/2010 6:03:13 AM #

I have been reading your blog for the last few hours, and it all has been very informative and well written.  I did want to let you know that for some reason this one doesn't seem to work with Internet Explorer.  On a side note, I was wondering if you wanted to swap blogroll links?  I hope to hear from you soon!

Custom T-Shirt Printing
Custom T-Shirt Printing United States
5/5/2010 9:19:41 AM #

Wonderful write-up. I just came across your blog and would like to let you know that I have honestly liked reading your blogs. At any rate I shall be subscribing to your feed and I am hoping you write more soon.

Power Trainer
Power Trainer United States
5/6/2010 2:58:45 AM #

If you're interested in having a guest blog poster please reply and let me know, also if you want to have a guest account on my blog. Cheers, Dave the Power Trainer

metal roof prices
metal roof prices United States
5/6/2010 5:34:55 AM #

Thanx for the effort, keep up the good work Great work, I am going to start a small Blog Engine course work using your site I hope you enjoy blogging with the popular BlogEngine.net.Thethoughts you express are really awesome. Hope you will right some more posts.

Hypercom T7Plus
Hypercom T7Plus United States
5/6/2010 8:49:13 AM #

This is the first I've seen this info, however it's better put like this.  Ya know?  Been going crazy trying to find how or where is the best place to learn about how to prepare for this.

Angelika Uscio
Angelika Uscio United Kingdom
5/7/2010 2:50:35 AM #

Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it's nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere. This was the first place that told me the answer. Thanks.

Pingbacks and trackbacks (2)+

Comments are closed

About the author

Eric Brown has been developing software and tinerking with computers for over twenty years.  Currently he spends most of his time with family and also learning the ins and outs of the various Microsoft technologies.  Currently he's learning what's new in the 4.5 framework as well the new features in Visual Studio 2011.

Month List

RecentComments

Comment RSS