[英]JetBrains Rider - errors when connecting to on-prem TFS
I am trying to connect latest version (2019.3.4) of Rider to TFS (on premise, TFS 2010).我正在尝试将 Rider 的最新版本 (2019.3.4) 连接到 TFS(内部部署,TFS 2010)。
I went through the steps in their community support ( https://rider-support.jetbrains.com/hc/en-us/articles/360000335099-How-to-use-Visual-Studio-s-TFV%D0%A1-local-workspace-in-Rider ), and got stuck on the step #6.我经历了他们社区支持中的步骤( https://rider-support.jetbrains.com/hc/en-us/articles/360000335099-How-to-use-Visual-Studio-s-TFV%D0%A1- local-workspace-in-Rider ),并卡在第 6 步。
Go to VCS -> TFVS -> Manage Workspaces, select your server, and press "Reload workspaces"
转到 VCS -> TFVS -> 管理工作区,选择您的服务器,然后按“重新加载工作区”
I am getting the following error when clicking reload:单击重新加载时出现以下错误:
If I try to click 'Edit' button, I get a different error:如果我尝试单击“编辑”按钮,则会收到不同的错误:
When I try to view file history, I get this warning当我尝试查看文件历史记录时,我收到此警告
13:50 Problems while loading file history: HTTP 401 Unauthorized
13:50 加载文件历史记录时出现问题:HTTP 401 未经授权
Rider never asked me to authenticate with my VCS (and I see no way of doing that) . Rider 从未要求我使用我的 VCS 进行身份验证(我认为没有办法这样做) 。
What should I do to make it work?我该怎么做才能让它发挥作用? Thanks
谢谢
The documentation you refer to is using Visual Studio's TFVС local workspace, while TFS 2010 only supports Server workspace.您参考的文档使用的是 Visual Studio 的 TFVС本地工作区,而 TFS 2010 仅支持服务器工作区。 Local & server workspace:
本地和服务器工作区:
https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/decide-between-using-local-server-workspace?view=azure-devops https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/decide-between-using-local-server-workspace?view=azure-devops
Azure DevOps plugin supports working with Git and TFVC repositories on Azure DevOps Services or Team Foundation Server (TFS) 2015+, and support Local workspace only. Azure DevOps 插件支持使用 Azure DevOps Services 或 Team Foundation Server (TFS) 2015+ 上的 Git 和 TFVC 存储库,并且仅支持本地工作区。
So, the answer by Cece is helpful, but does not solve the problem.所以,Cece 的回答是有帮助的,但并没有解决问题。
It simply turned out that I need a different plugin to Rider.事实证明,我需要一个与 Rider 不同的插件。
The one installed by default in recent releases is for Azure DevOps.最近版本中默认安装的一个是用于 Azure DevOps。
There is another one, called TFS - and that's the one to use.还有另一个,称为 TFS - 这就是要使用的。 https://plugins.jetbrains.com/plugin/4578-tfs/
https://plugins.jetbrains.com/plugin/4578-tfs/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.