Monday, January 27, 2020

TFS - Moving to a new server. How to update solutions with new server info

 To solve an issue.

Steps

    Edit EP2.sln in notepad. Change from SccTeamFoundationServer = http://150.150.145.123:8080/ to SccTeamFoundationServer = http://150.150.145.124:8080/ Save. Note: file will be marked as read only. Just uncheck Read only in file properties.
    Open VS (do not have any solutions open). View -> Team Explorer 3. Right click on the server node (150.150.145.124) and choose 'Disconnect'
    Click the 'Add existing team project' button and then click the 'Servers' button 5. Click on 'Add' to add a new server. Enter the IP address and leave the defaults. Click OK and then click 'Close'
    From the drop down, choose the new server (will be labeled as the IP you entered). Click the '(Select All)' check box and then click OK. The server information will start to refresh, wait until it's done.
    At this point, close Team Explorer window and open the solution. There will be a dialog "There appears to be a discrepancy between the solution's source control information about some project(s) and the information in the project file(s)". Just click OK and wait for the solution to load.




No comments:

Post a Comment