Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

TFVC with Azure DevOps via VSCode

  • Author: Pedric Kng
  • Updated: 22 April 2019

Overview

This tutorial discusses

  • Azure DevOps TVFS Repository Pulling
  • VSCode IDE integration

Pre-requisites

  • 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

Steps

  1. Search for Azure Repos extension[1] in VS Code and select to install the one by Microsoft
  2. Open File -> Preferences -> Settings
  3. 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
  1. Open a local folder (repository), From View -> Command Palette -> team signin
  2. Provide user name --> Enter --> Provide PAT to connect to TFS.

References

Azure Repos VSCode extension [1]
Team Foundation Version Control (TFVC) Support [2]
Authenticate access with personal access tokens [3]
TVFC [4]