g_b
g_b

Reputation: 12438

How do I add a whole folder to Visual Studio Team Services (was TFS Online)

I'm currently trying Visual Studio Team Services, and I want to check in a whole folder containing code and more subfolders. I'm in the CODE->EXPLORER tab and when I right-click on the right side (the main area), a context menu appears where there is a menuitem Add. So, I tried adding an existing item, however, it won't let me put in folders. I tried then dragging the whole folder in the content area but it says error. How do I add folders in source control?

Upvotes: 7

Views: 30401

Answers (3)

Miroslav Holec
Miroslav Holec

Reputation: 3217

You can create new folder directly in Visual Studio Team Services website using the Folder Management extension. Follow this steps:

  1. Login to your VSTS account, f.e. https://{account}.visualstudio.com
  2. In the top of website choose Browse Marketplace

Go to the Marketplace

  1. Search extension Folder management or visit direct this URL of extension
  2. Install the extension and choose an account to associate

Install Folder Management extension

  1. Go back to VSTS account and choose CODE in main menu

Now you can create new folder directly:

Create new folder in VSTS

Upvotes: 5

chief7
chief7

Reputation: 14393

I don't believe its possible to add folders from VSTS (formerly VSO) but you could connect to VSTS via VisualStudio and uses the Source Control Explorer to add folders.

enter image description here

enter image description here

enter image description here

Upvotes: 11

Dylan Smith
Dylan Smith

Reputation: 22255

Use Visual Studio/Team Explorer. Map to a local folder, then just use windows explorer to copy/paste your folder/files into your mapped folder. In Team Explorer/VS it will pick up all the added files and you can check them all in in one operation.

Upvotes: 4

Related Questions