简体   繁体   English

JetBrains Rider - 连接到本地 TFS 时出错

[英]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.

相关问题 导入工作项类型定义时,TFS 2017(本地)中的ProvisioningImportEventsCallback - ProvisioningImportEventsCallback in TFS 2017(on-prem) when importing work item type definition TFS(本地)构建代理(本地)在作为服务运行时未找到 Visual Studio 2017 功能 - TFS(On-Prem) Build Agent(On-Prem) Not Finding Visual Studio 2017 Capability While Running As Service 将代码从VSTS存储库推送到本地TFS? - Push code from VSTS repository to on-prem TFS? 是否可以为本地TFS 2018设置代理发布代理? - Is it possible to setup a proxy release agent for on-prem TFS 2018? REST API上的TFS 2015内部部署许可问题 - TFS 2015 on-prem licensing issue on REST API 如何在本地TFS中删除Git仓库 - How do I remove a Git repo in TFS on-prem TFS构建/发布代理“更新所有代理”并未更新2017年TFS内部代理 - TFS build/release agents “update all agents” is not updating the agents for TFS on-prem 2017 从 TFS 2013 升级到 Azure DevOps 2019 On-Prem(继承过程模型) - Upgrading from TFS 2013 to Azure DevOps 2019 On-Prem (inheritance process model) TFS 2015本地:Web扩展无法加载https - (不支持请求) - TFS 2015 On-prem: web extension failing to load over https - (The request is not supported) 使用旧版本 NuGet.exe 的 TFS On-Prem 构建代理 - TFS On-Prem Build Agent Using Old Version Of NuGet.exe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM