Skip to content

Commit 0d4955d

Browse files
authored
Merge pull request #2109 from asb3993/amburns-TFVC-updates
Adding known issues section to TFVC guide
2 parents b89538d + a00ef8b commit 0d4955d

10 files changed

+47
-14
lines changed

mac/media/tfvc-add-remove-server.png

3.98 KB
Loading

mac/media/tfvc-auth.png

40.1 KB
Loading

mac/media/tfvc-auth2.png

23.8 KB
Loading

mac/media/tfvc-choose-projects.png

-3.14 KB
Loading

mac/media/tfvc-choose-server-type.png

11.9 KB
Loading

mac/media/tfvc-create-workspace.png

-22.6 KB
Loading

mac/media/tfvc-install.png

81.4 KB
Loading

mac/media/tfvc-login.png

6.62 KB
Loading

mac/media/tfvc-manage-workspaces.png

-1.85 KB
Loading

mac/tf-version-control.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,47 @@ ms.assetid: 52D3D26A-4D01-4FD1-AAA1-AE7D7BD39746
1111

1212
# Connecting to Team Foundation version control
1313

14-
Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) provide two models of version control: Git, which is distributed version control, and Team Foundation Version Control (TFVC), which is centralized version control. This article provides an overview and a starting point for using Team Foundation Version Control with Visual Studio for Mac.
15-
1614
> [!NOTE]
17-
> **Note**: Team Foundation Version Control support is currently in preview and some functionality is not yet fully working. More changes still to come!
15+
> **Note**: Team Foundation Version Control support is currently in preview and some functionality is not yet fully working. We'd love feedback from you on any issues at [Developer Community](https://developercommunity.visualstudio.com/spaces/41/index.html). More changes are still to come!
16+
17+
Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) provide two models of version control: Git, which is distributed version control, and Team Foundation Version Control (TFVC), which is centralized version control. This article provides an overview and a starting point for using Team Foundation Version Control with Visual Studio for Mac.
1818

1919
## Requirements
2020

2121
* Visual Studio for Mac version 7.5 or later.
22-
* Visual Studio Team Servers, or Team Foundation Server 2013 and later
22+
* Visual Studio Team Services, or Team Foundation Server 2013 and later
2323
* A Project in Visual Studio Team Services or Team Foundation Server, configured to use Team Foundation Version Control.
2424

2525
## Installation
2626

27-
From within Visual Studio for Mac, choose the **Visual Studio > Extensions...** menu. Search for "TF version control" and install the **Team Foundation Version Control** extension. Restart the IDE when prompted.
27+
In Visual Studio for Mac, choose **Visual Studio > Extensions...** from the menu. In the **Gallery** tab, select **Version Control > Team Foundation Version Control for TFS and VSTS** and click **Install…**:
28+
29+
![Extension manager](media/tfvc-install.png)
30+
31+
Follow the prompts to install the extension. Once it's installed, restart the IDE.
2832

2933
## Using the add-in
3034

31-
Once the extension is installed, select the **Version Control > TFS/VSTS > Connect to Team Foundation Version Control...** menu.
35+
Once the extension is installed, select the **Version Control > TFS/VSTS > Connect to Team Foundation Version Control...** menu item. Click **Add** to add a new account:
3236

3337
![Add a TFVC Server](media/tfvc-add-remove-server.png)
3438

35-
3639
Choose either Visual Studio Team Services or Team Foundation Server to get started:
3740

3841
![Connect with a TFVC Server](media/tfvc-choose-server-type.png)
3942

40-
Enter you credentials:
43+
Enter your credentials and click **Log in**:
4144

4245
![Log in to a TFVC Server](media/tfvc-login.png)
4346

44-
Then, choose the projects that you want to access:
47+
Once you've successfully logged in, select the projects that you want to access and press **OK**:
4548

4649
![Choose projects](media/tfvc-choose-projects.png)
4750

48-
To continue, close the dialogs and then use the **Version Control > TFS/VSTS > Source Control Explorer** menu to browse source.
51+
Select the **Version Control > TFS/VSTS > Source Control Explorer** menu item to open the source control explorer allowing you to browse the source.
4952

50-
> [!WARNING]
51-
> **Known issue**: In this preview release, the first time you open source control explorer, you'll have to create a new workspace.
53+
> [!IMPORTANT]
54+
> **Known issue**: In this preview release, the first time you open source control explorer, you'll have to [create a new workspace](#creating-a-new-workspace).
5255
5356
![Source Explorer](media/tfvc-source-explorer.png)
5457

@@ -73,10 +76,40 @@ In the Source Control Explorer, click on the **Manage Workspaces** button.
7376

7477
![Manage Workspaces](media/tfvc-manage-workspaces.png)
7578

76-
Click on **Add** to create a new workspace.
79+
Click the **Add** button to create a new workspace.
7780

7881
![Create Workspace](media/tfvc-create-workspace.png)
7982

8083
Provide a name for the workspace and then click **Add Working Folder** to map the project to a local folder on your computer.
8184

82-
When done, click **OK**, then close the Manage Workspaces dialog. You're now ready to get files though the Source Code Explorer and get started.
85+
When done, click **OK**, then close the Manage Workspaces dialog. You're now ready to get files though the Source Code Explorer and get started.
86+
87+
## Troubleshooting
88+
89+
### Problems using basic authentication
90+
91+
There are a number of different options available to perform authentication with a server:
92+
93+
- Oauth
94+
- Basic
95+
- Ntlm
96+
97+
To be able to use basic authentication it is necessary to Enable **Alternative authentication credentials** in VSTS, by following the steps below:
98+
99+
1. Sign in as the account owner to your VSTS account (https://{youraccount}.visualstudio.com).
100+
2. From your account toolbar, select the gear icon and select **Policy**:
101+
![Policy settings option selected](media/tfvc-auth2.png)
102+
3. Review your application connection settings. Change these settings, based on your security policies:
103+
![Policy settings option selected](media/tfvc-auth.png)
104+
105+
### I do not see anything in TFVC
106+
107+
To set up Team Foundation Version Control (TFVC) on your dev machine, you **must** create a workspace, as described in the [Creating a new workspace](#creating-a-new-workspace) section.
108+
109+
In Source Control Explorer, press the **Manage Workspaces** Button. Follow the steps to map the team project to a folder on your dev machine.
110+
111+
### I do not see any / all of my projects
112+
113+
After authenticating you should see the list of projects. By default, only TFS projects to are shown. To see other types of projects, check the "See all projects" box.
114+
115+
Keep in mind that projects that are on the server will not appear if you don't have the correct privileges.

0 commit comments

Comments
 (0)