AnkhSVN for Subversion does not show Source-Code-Control related icons
We moved our projects (SQL Server and .Net) from Visual-Source-Safe to SubVersion.
We have installed Tortoise SVN and AnkhSVN clients on the location machine.
When I lock a file, the icon in Windows Explorer changes, but there is no indication in V开发者_JAVA百科isual Studio of any lock.
Visual-Studio
Windows Explorer
How do I fix this?
I figured it out!
I had added the Solution to SVN but not added the projects to SVN.
Funnily enough, when you add a Solution to SVN, it adds all the files to SVN, but it does not modify the project to manage them via SVN as well - this is a step you have to do manually.
Then the icons show up!
Make sure you have AnkhSVN as your currently selected source control plugin.
Tools -> Options -> Source Control.
add svn:needs-lock property in locked file to let AnkhSVN show file locked in Visual Studio, see: http://ankhsvntips.net/post/2378796136/auto-locking-files
精彩评论