修改Team Foundation Server源代码服务器的绑定地址

如果原有TFS的ip发生改变,代码所绑定的地址如何更新?

修改 解决方案文件**sln

1. 将文件的只读属性去掉
2. 在解决方案文件**sln中找到如下段落,更新SccTeamFoundationServer的值:
------------------------------------------------
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 6
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = http://IP:端口/tfs/
SccLocalPath0 = .
SccProjectUniqueName1 = ****.csproj
SccProjectName1 = ***
SccLocalPath1 = **
SccProjectUniqueName2 = **.csproj
SccProjectName2 = **
SccLocalPath2 = **
SccProjectUniqueName3 = **.csproj
SccProjectName3 = **
SccLocalPath3 = **
SccProjectUniqueName4 = **.csproj
SccProjectName4 = **
SccLocalPath4 = **
SccProjectUniqueName5 = **.csproj
SccProjectName5 = **
SccLocalPath5 = **
EndGlobalSection
------------------------------------------------

你可能感兴趣的:(.Net/C#)