TFS work online and offline how-to setup TFS/VS2022 for two different TFS servers?

hauld 136 Reputation points
2024-04-05T16:39:15.9433333+00:00

I have many (local) Visual Source Safe project with VS2019. I want to retire the VSS and I guess I'm going to need TFS. I setup a local TFS with SQLExpress.

I contract with a Professional services company who use "git" and Asure service.

How can I setup my VS2022 to access both Network and Local TFS servers? Without corrupting the online service connection?

The local TFS is for my non contractor projects.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
{count} votes

Accepted answer
  1. Michael Taylor 48,486 Reputation points
    2024-04-05T18:55:07.64+00:00

    Visual Studio can connect to any # of Azure DevOps, GitHub, Azure DevOps Server instances.

    For an Azure DevOps Server instance go to Team \ Manage Connections. Click the Manage Connection link and it'll pop up the Connect to a Project UI.

    enter image description here

    Click the Add Azure DevOps Server link and type in the URL to your local instance. It will show up in the tree view along with all the other source control instances you are connected to.

    enter image description here

    The larger question is getting your VSS stuff into Azure DevOps. In general you should prefer to use Git over the older Team Project solution. This will make it consistent with other providers. There isn't necessarily an easy way to do this. Since Git is repository based I would recommend that each of your "deployable" projects in VSS become repos. However you may need to adjust it later. What I would strongly recommend is that you bring across your existing code with as little change as possible and get it checked in as your initial version. Then you can proceed to make adjustments to fit into the Git world. If your VSS stuff isn't too large you could even create a "legacy" repo and just drop everything into there. Then create new repos for work going forward.


0 additional answers

Sort by: Most helpful