visual-studio Ankhsvn 未集成到 Visual Studio 2010
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3869404/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Ankhsvn not integrated to Visual Studio 2010
提问by DSharper
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?
我有一个已经被颠覆的网站项目。我已经安装了 ankhsvn,但是当我在 Visual Studio 2010 中打开网站项目时,它没有在解决方案资源管理器中显示版本控制图标。知道为什么会这样吗?
Thanks
谢谢
回答by Bert Huijben
Did you enable AnkhSVN in Tools->Options->Source Control?
您是否在工具->选项->源代码管理中启用了 AnkhSVN?
When it is the default SCC provider it should automatically detect that your (C# ?) website project is already in Subversion.
当它是默认的 SCC 提供程序时,它应该自动检测您的(C# ?)网站项目已经在 Subversion 中。
回答by Hammad Khan
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.
如果您使用的是 Visual Studio 2008/2010/2012 的 Express 版本,请注意 AnkhSVN 不适用于 Express 版本。在我的情况下(VS 2012),上述解决方案不起作用,因为 AnkhSVN 在工具 -> 选项 -> 源代码管理 -> 插件选择中不可用。Express 版本不允许 Addin。
回答by 3Dave
This is an old question, but after installing Ankh I had to run
这是一个老问题,但在安装 Ankh 后我不得不运行
"d:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /setup
"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.
让 Ankh 显示在源代码管理插件选择列表中。新插件似乎会间歇性地发生这种情况。
回答by AndyS
I had a similar problem and got it fixed when I uninstalled and reinstalled AnkhSVN. Doing a repair wasn't enough.
我遇到了类似的问题,并在卸载并重新安装 AnkhSVN 后修复了它。进行维修是不够的。
回答by H. Aghassi
I had the same problem. The only solution for me was to remove Registry keys explained in Visual Studio 2012 Extension Issues.
我有同样的问题。对我来说唯一的解决方案是删除Visual Studio 2012 扩展问题中解释的注册表项。

