1. First to disarm the solution's TFS bindings
Clear (delete) All version control files under the project, which are: *.VSSSCC,*.VSPSCC
Deleting these version control files is simple, search for these suffixes of the file, delete it.
To modify a project's solution file: *.sln
(1), first to confirm that the solution file (*.sln) is modifiable, if it is a read-only file, you need to first adjust to modifiable.
(2), do not use Visual Studio to open the file, using a text editor to open the *.sln file, in the file, we will be able to see a code similar to the following:
Globalsection (Teamfoundationversioncontrol) = Presolution
Sccnumberofprojects = 2
Sccenterpriseprovider = {4ca58ab2-18fa-4f8d-95d4-32ddf27d184c}
Sccteamfoundationserver = Http://<YourTFS>/tfs/defaultcollection
SccLocalPath0 =.
SccProjectUniqueName1 = <your Project path and name in Tfs>.csproj
SccProjectName1 = <project name>
SccLocalPath1 = <project path>
...
&NBSP;&NBSP;&NBSP;...
...
endglobalsection
This code is the TFS configuration that is loaded when the project starts, and we want to eliminate TFS, this code has to be deleted, and after deletion, save the file.
Modify versioning information in individual sub-projects in: *.csproj (C # project, other project file suffix differs)
(1), similar to the following code:
<PropertyGroup>
<!--other Configurations--
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>??? </SccProjectName>
<SccLocalPath>??? </SccLocalPath>
<SccAuxPath>??? </SccAuxPath>
<SccProvider>??? </SccProvider>
</PropertyGroup>
(2), the above scc* configuration is the version control information. You can delete it and save the file after the deletion is complete.
2. Add the following configuration in the solution file SLn
Globalsection (extensibilityglobals) = postsolution visualsvnworkingcopyroot = . Endglobalsection
3. Open a solution with Visual Studio to add SVN solutions and projects
Reference:
http://blog.csdn.net/zy0421911/article/details/51747281
Visual Studio version Management migrating from TFS to SVN