views:

74

answers:

2

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 Visual Studio of any lock.

Visual-Studio

alt text

Windows Explorer

alt text

How do I fix this?

+1  A: 

Make sure you have AnkhSVN as your currently selected source control plugin.

Tools -> Options -> Source Control.

Martin Harris
confirmed - AnkhSVN is my Source Control Plugin
Raj More
+3  A: 

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!

Raj More
The most common (modern) project types somehow don't require that you take this step even though Microsoft recommends that you do it.
Bert Huijben