Which plugin do you use for SVN in Visual Studio?

2020-02-07 19:41发布

I'm considering using SVN for my .Net projects, and I'd like to know what plugins are available for integrating the source control capabilities directly into the Visual Studio IDE.

I already know about the following Visual Studio extensions:

  1. VisualSVN, which seems great but is not free. It is implemented as a low-level VS package extension. Is anyone using it?

  2. AnkhSVN, which is free but I've heard it's a bit buggy. It is implemented as a VS add-in extension. Is anyone using it? are you experiencing problems? Edit: The 2.0 version is a complete rewrite and seems to solve the problem I've heard about (which were related to the 1.x versions)

  3. Edit : TortoiseSVN + Mindscape's FileExplorer VS Extension, which is not a real IDE integration but somewhat eases the use of TortoiseSVN from Visual Studio.

Edit : I've found a few comparison posts between AnkhSVN and VisualSVN here, here and here.

14条回答
The star\"
2楼-- · 2020-02-07 20:01

I use AnkhSVN and haven't had any issues worth complaining about. Sometimes (about 1 in 10 times?) I do get a strange nondescript error trying to commit, but restarting VS has always fixed the problem.

Edit: The error actually seems to be coming from the dataset designer, not AnkhSVN. Sometimes I get an error where it tries to "read or write to protected memory", which then just continues until I restart VS. Sorry for the confusion.

查看更多
在下西门庆
3楼-- · 2020-02-07 20:01

The Agent SVN plug-in does a good job of integrating Subversion and Visual Studio, but it too is not free.

查看更多
一夜七次
4楼-- · 2020-02-07 20:03

I use VisualSvn and it's fine. It wasn't expensive and it helps make sure you include all files you've added to the solution. It's not so good when using locking in svn (but then svn isn't great at locking files). If you want to edit a file that has needs-lock set, it will automatically update it when you lock it (sensible), but that could end up doing an update when you dont want it too.

I've got into trying Svn Monitor too and am happy with that, but it does seem to grind my computer to a halt.

I've tried old versions of ANKH but got in a mess and corrupted the svn repository (I suspect that was version 1.x) so I'd guess later versions are better.

查看更多
孤傲高冷的网名
5楼-- · 2020-02-07 20:07

I also use AnkhSVN and it does work OK but I tend to drop to the file system to work with TortoiseSVN. For some reason I feel safer using Tortoise. I think that come's from concerns about Visual Studio than it is AnkhSsvn.

查看更多
可以哭但决不认输i
6楼-- · 2020-02-07 20:08

Another vote for visual SVN. To be honest, I think its just me being lazy. I could do everything visual svn does with just using tortoise, but it saves me from switching between programs. The color coded warning lights you get with visual svn are nice, but not that big a deal.

查看更多
Ridiculous、
7楼-- · 2020-02-07 20:10

I use VisualSVN and it works great, but you're correct, it's not free. No experience with Ankh here.

查看更多
登录 后发表回答