Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an existing solution to a Team Foundation Server?

I have a solution, which contains 7 projects. I wanted to try out TFS (just to see how it works etc.), so I would like to add this existing solution to my TFS' DefaultCollection.

Is this possible without re-creating all the projects and adding their files?

like image 718
lesderid Avatar asked Oct 19 '11 18:10

lesderid


People also ask

How do I add solutions to Team Foundation Server?

Select File > Source Control > Add to Team Foundation Server from the TestComplete main menu. Right-click your project or project suite in the Project Explorer and then click Source Control > Add to Team Foundation Server.

How do I add an existing project to a Team Foundation Server?

In the Connect to Team Project dialog box, select the TFS instance you want to connect to, select the team project collection, select the team project you want to add to, and then click Connect. In the Team Explorer window, expand your team project, and then double-click Source Control.

How do I add an existing solution in Visual Studio?

To add an item to a solution, on the context (right-click) menu of the solution node in Solution Explorer, select Add > New Item, or Add > Existing Item. A solution file is a structure for organizing projects in Visual Studio.

How do I add files to TFS Source Control?

You can add files into Projects or Team Projects' workspace folder on your local machine, then right-click Projects or Team Projects under Source Control Explorer and select Add Items to Folder to add your files.


1 Answers

  1. Create a Team Project to hold them
  2. Create a workspace mapping between the team project and the current location of your code on disk
  3. Go to Team Explorer, connect to your new project, double-click "Source Control"
  4. Right-click the node for the new project and choose "Add to Source Control"
like image 52
John Saunders Avatar answered Oct 12 '22 04:10

John Saunders