How to connect Visual Studio Code to Visual Studio

2019-04-19 01:49发布

I recently downloaded Visual Studio Code and I'm trying to figure out how to connect the editor to my Visual Studio Team Services project. Anyone have any success with this?

2条回答
Evening l夕情丶
2楼-- · 2019-04-19 02:40

First Download the "Visual Studio Team Services" extension from the marketplace, it allows you to connect to Team Services, monitor your builds and manage your pull requests and work items for your Git repositories.

After you've installed the extension, open either the root folder or a sub-folder of the cloned Git repository. Once a Team Services or Team Foundation Server 2015 Update 2 (or later) repository is detected by the extension, you will need to provide your credentials (if credentials weren't already found). If you are required to provide your credentials, there will be an indicator in the status bar whose message will indicate that you need to login in.

查看更多
地球回转人心会变
3楼-- · 2019-04-19 02:40

As Alex S. Mentions, Visual Studio Code can already integrate with TFS and Visual Studio Team Services when you're using a Git Repository for source control.

TFVC support is not included, but there is a nice wrapper around the command line tools available as a plugin. You still need to have either Team Explorer 2013 or Team Explorer 2015 installed on your system, so this doesn't work on Linux or Mac, unfortunately. (Though it could possibly use the Cross Platform Command line Tools for TFS I suppose, pull request anyone?).

查看更多
登录 后发表回答