Showing posts with label vs2010. Show all posts
Showing posts with label vs2010. Show all posts

Friday, February 3, 2012

How to add Beyond Compare to Visual Studio TFS

To use the mother of all compare tools "Beyond Compare" as your default code comparer in Visual Studio 2010, you need to follow the next steps:

1. Install BC3 (Download the trial and buy it if you like at http://www.scootersoftware.com)

2. Go to the options followed by Source Control, Visual Studio Team Foundation Server and click on Configure User Tools.

3. Click on Add and add a Compare command for extension .* using command C:\Program Files (x86)\Beyond Compare 3\BComp.exe and arguments %1 %2 /title1=%6 /title2=%7

4. Click on Add and add a Merge command for extension .* using command C:\Program Files (x86)\Beyond Compare 3\BComp.exe and arguments %1 %2 /savetarget=%4 /title1=%6 /title2=%7
- or -
if you want BC Pro's 3-way merge: %1 %2 %3 %4 /title1=%6 /title2=%7 /title3=%8 /title4=%9



You need to use the bcomp.exe, else it wound work see http://www.scootersoftware.com/vbulletin/showthread.php?t=5538

Cheers,
L

Thursday, September 29, 2011

How to add a big fat TFS "Source Control" button in your toolbar

As developer we spend a lot of time in Source Control. In VS2010 there isn't a default big Source Control button in the toolbar, and because I always forget how to add it back after a reset settings, here's how I do it: First click on the little arrow-down next to the toolbar you want the Source Control button in, then Add or Remove buttons followed by Customize.
Click on Add command and look for View in the left column and TfsSourceContolExplorer in the right column (be patient, clicking on view takes a couple of seconds). And click OK.
Click on Modify selection to Rename the button, begin a new group and make sure the Image and Text is selected!
Bazinga! The 'never have to look for source control'-button is there to be clicked!