AnkhSVN and Visual Studio 2007/2008/Orcas

A newer registry file is available to provide AnkhSVN with Visual Studio 2008 and Vista support in one.

If you are using Visual Studio 2007/2008/Orcas/9.0 you will have found that AnkhSVN 1.01 doesn’t appear in the IDE.

Like many Visual Studio add-ins AnkhSVN should work just fine but won’t appear because the installer does not write an entry for it in the 9.0 section of the registry.

In this case the specific branches are:

  • 32-bit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns\Ankh
  • 64-bit HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0\AddIns\Ankh

All we need to do is export that section out, change the 8.0 to 9.0 and then run it back into the registry.

This technique should work for any other add-in’s you have that are only appearing in 2005.

If you installed AnkhSVN into the default folder try these registry files I have prepared for 32-bit or 64-bit machines.

[)amien

One response

  1. Avatar for tyler

    didn’t work.

    tyler – June 23rd, 2007
  2. Avatar for Damien Guard

    Tyler, try the registry download now available.

    Damien Guard June 24th, 2007
  3. Avatar for Per Salmi

    This registry trick doesn’t seem to work on VS 2008 Beta 2. Have you found a way to make it work in Beta 2?

    Per Salmi July 28th, 2007
  4. Avatar for Damien Guard

    I just did a clean install of VS2008 beta 2 and ran the 32-bit registry link above and it works perfectly.

    Damien Guard July 29th, 2007
  5. Avatar for Mort

    It works perfectly (VS 2008 Beta 2), thanx

    Mort – August 15th, 2007
  6. Avatar for jpd

    Looks like proper Orcas registry keys have been added to the installer on the AnkhSVN trunk - use a build from rev 2765 or beyond and you should be good to go out of the box.

    jpd – September 19th, 2007
  7. Avatar for HK

    Just test the above tip with Visual Studio 2008 RTM and it worked perfectly. Thanks!

    HK – December 28th, 2007
  8. Avatar for Raphael Cangucu

    Tks a lot man! Its works in vs 2008 professional!

    Raphael Cangucu January 9th, 2008
  9. Avatar for Paul V.

    Well, it works, but every time that I enter in debug mode, a window with an ankh error pops up and it’s kind of annoying.

    Paul V. – March 30th, 2008
  10. Avatar for Jason Poll - Yoopergeek

    Worked great for me, thanks! I see from other comments that I could have just gotten the latest Ankh installer, but this seemed quicker. Thanks for the tip! (Also: I’ve linked to your post.)

    Jason Poll - Yoopergeek April 11th, 2008
  11. Avatar for Bert Huijben

    AnkhSVN 2.0 is just released. It has full VS 2005 and VS 2008 support built in and works correctly on Windows 2000, XP, 2003 and Vista.

    Bert Huijben July 14th, 2008