How to connect Visual Studio 2019 to TFS?

冷暖自知 提交于 2020-04-08 06:30:13

问题


Visual Studio Professional 2019 looks to be all set for use of Azure DevOps.

We are using Azure DevOps but also have a large code base still in TFS.

I was using Visual Studio 2017 Enterprise (with TFS) but it seemed this was a 90 day trial.

I have now been issued with Visual Studio Professional 2019.

I should be able to connect Visual Studio Professional 2019 to TFS also ?

How do I do this?


回答1:


Richard suggested:

Team | Manage Connections then click on manage connections, from where you can connect to servers. "Connect to a Project" form/dialog ..

thanks for this comment !

i.e. in Visual Studio Pro 2019, the option is "Add Azure DevOps Server" even though wanting to add TFS server.

i.e.

In Visual Studio Pro 2017, it looks like this:

At first I have tried (successfully) File, Source Control menu options. i.e. File | Source Control | Advanced | Open From Server ..

Question then was: "How do I switch Visual Studio Pro 2019 from TFS back to Azure DevOps?"

I have been using Git Gui and Git Bash for working with Azure DevOps so this wasn't so important.

I worked out how to switch between TFS and Azure DevOps projects also via use of this dialog form:



来源:https://stackoverflow.com/questions/58297628/how-to-connect-visual-studio-2019-to-tfs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!