- Author: Pedric Kng
- Updated: 22 April 2019
This tutorial discusses
- Azure DevOps TVFS Repository Pulling
- VSCode IDE integration
- Create a Personal Access Token (PAT) with All Scopes available in Azure DevOps Services [3]
- Ensure you have a TF command line client installed.
- Existing VS project
- Search for Azure Repos extension[1] in VS Code and select to install the one by Microsoft
- Open File -> Preferences -> Settings
- Edit the following in your user settings -> Extension -> Azure Repos extension
- Tfvc: Location -- Specify the path to Team Foundation tool(tf.exe)
- VS2015 - "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\tf.exe"
- VS2017 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\tf.exe"
- Tfvc: RestrictWorkspace -- Restrict the TFVC workspace to current open VS Code workspace
- Select option
- Open a local folder (repository), From View -> Command Palette -> team signin
- Provide user name --> Enter --> Provide PAT to connect to TFS.
Azure Repos VSCode extension [1]
Team Foundation Version Control (TFVC) Support [2]
Authenticate access with personal access tokens [3]
TVFC [4]