46

I have a website project that has been subversioned already. I have installed ankhsvn but when I open the website project in Visual Studio 2010 it doesn't show the version control icons in the Solution Explorer. Any idea why that might be?

Thanks

Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985
DSharper
  • 3,177
  • 9
  • 29
  • 47

5 Answers5

127

Did you enable AnkhSVN in Tools->Options->Source Control?

When it is the default SCC provider it should automatically detect that your (C# ?) website project is already in Subversion.

Bert Huijben
  • 19,525
  • 4
  • 57
  • 73
  • 2
    Thanks you, saved me some hairs. – Dave Feb 14 '12 at 14:40
  • 2
    for me it was enabled by default in VS2008. I expected the same thing for VS2010 but it didn't happen. :) Thank you for the answer. – sarat May 14 '12 at 05:08
  • Thanks this fixed my issue. I just opened a project from codeplex with source control pointed at a TFS server and it detached my SVN projects from source control. – C.M. Sep 10 '12 at 21:30
  • 1
    It enabled by default in vs2010 but not in vs2012. You answer saved my time.Thank you – Esen Oct 18 '12 at 21:16
  • 1
    Don't forget check "Show all settings" in the ShowDialog. – Logar314159 Feb 20 '13 at 23:27
2

If you are using Express Versions of Visual Studio 2008/2010/2012, note that AnkhSVN does not work with Express versions. In my case (VS 2012) the solution above does not work because AnkhSVN is not available in Tools -> Options -> Source Control -> Plugin Selection. Express versions do not allow Addin.

https://stackoverflow.com/a/12509780

Community
  • 1
  • 1
TheTechGuy
  • 16,560
  • 16
  • 115
  • 136
1

This is an old question, but after installing Ankh I had to run

"d:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /setup

to get Ankh to show up in the source control plugin selection list. This seems to happen intermittently with new plugins.

3Dave
  • 28,657
  • 18
  • 88
  • 151
  • The AnkhSVN setup performs this step for you. If you see this fail often most likely you have some Visual Studio plugin/extension with serious problems. With this flags all VS plugins are loaded to allow them to complete their setup. (AnkhSVN doesn't perform any work in this step, but VS needs to load it anyway to setup the menu and toolbar items) – Bert Huijben Dec 17 '13 at 16:19
0

I had a similar problem and got it fixed when I uninstalled and reinstalled AnkhSVN. Doing a repair wasn't enough.

AndyS
  • 750
  • 5
  • 14
0

I had the same problem. The only solution for me was to remove Registry keys explained in Visual Studio 2012 Extension Issues.

Community
  • 1
  • 1
H. Aghassi
  • 221
  • 4
  • 16