Adi
Adi

Reputation: 5223

Get rid of SourceSafe source control

One of my projects was under SourceSafe and I am using VS2008. Recently I switched to SVN. I removed all SS related files and committed the source files into SVN. Anyway, when I open my solution I'm still getting this inoffensive but annoying message (see picture below):

The source control provider associated with this solution could not be found. The projects will be treated as not under source control.

Do you want to permanently remove the source control bindings from the projects?

enter image description here

I answered multiple time Yes and saved all the files, the I closed the solution and reopen it. I always get this message. Where can I manually remove any binding left there?

Upvotes: 11

Views: 6764

Answers (4)

wutzee
wutzee

Reputation: 1

I tried both the steps mentioned by @Brian Gideon BUT the problem was still there. I am using visual studio 2012.

I went here where the method was same with addition of 1-2 steps. Reading onto comments in this blog helped me to realize to change the source control setting in the IDE - Visual Studio 2012.

Instead of editing the files directly, go to File -> Source Control -> Change source control. Here you can edit the Source Control Binding settings.

In case you are using Visual Studio 2012, this may work.

Change current source control plug-in to Visual Studio Team Foundation Server

Upvotes: 0

Brian Gideon
Brian Gideon

Reputation: 48949

You will need to touch the solution file and each project file in the solution.

In the .sln file you will see the following section which needs to be removed.

GlobalSection(SourceCodeControl) = preSolution
  ...
EndGlobalSection

In the .csproj file you will see the following lines which need to be removed.

<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>

Upvotes: 13

Kanini
Kanini

Reputation: 1993

Have a look at this. It is pretty old, but it has sure worked wonders for me in the previous project.

In addition to the above, I would suggest exactly what Jon wrote. Open a new solution, compare and check and remove the unwanted things.

Hope this helps.

Upvotes: 0

Jon Skeet
Jon Skeet

Reputation: 1500485

Have a look in the solution file - the bindings will be in there. You might want to check whether there are any vestiges in the project files as well, but I think they're all in the solution.

Upvotes: 0

Related Questions