简体   繁体   English

VS2017和AnkhSVN

[英]VS2017 and AnkhSVN

My solution is detected properly by AnkhSVN running in VS2015 to be bound to SVN. 我的解决方案已被VS2015中运行的AnkhSVN正确地检测到绑定到SVN。 For some reason, if I open this same solution in Visual Studio 2017, AnkhSVN doesn't see it bound to SVN. 由于某种原因,如果我在Visual Studio 2017中打开相同的解决方案,则AnkhSVN不会将其绑定到SVN。 I try to bind it, for some reason VS2017 binds it to GIT. 我尝试将其绑定,由于某些原因,VS2017将其绑定到GIT。 Not sure why that is. 不知道为什么。 What is the proper way to fix this issue? 解决此问题的正确方法是什么? or how do I re-bind it again to SVN so that AnkhSVN sees it as bound? 或如何再次将其重新绑定到SVN,以便AnkhSVN将其视为已绑定?

PS This doesn't happen in all my solutions, just a few. PS:这并非在我所有的解决方案中都发生,仅是少数几个。 Not sure what is so special about those solutions. 不知道这些解决方案有什么特别之处。 Did diffs but I don't see anything special about those solutions. 有所不同,但我认为这些解决方案没有什么特别之处。 Any ideas? 有任何想法吗?

Seems the way to fix this is to go to "Tools - Options - Source Control", and select AnkhSVN as the active SCC Provider. 解决此问题的方法似乎是转到“工具-选项-源代码控制”,然后选择AnkhSVN作为活动的SCC提供程序。

This seems to be on a per solution basis and it makes some change in the solution file because it works from then on. 这似乎是基于每个解决方案的,并且对解决方案文件进行了一些更改,因为它从那时起开始起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM