我正在尝试使用 Rider 和 TFS 在新计算机上设置旧项目。我已经在带有 Rider 的旧计算机上使用具有相同存储库的 TFS,但是,我注意到在我的新计算机上,TFS 不再是版本控制的选项。我有该插件,我可以转到设置下的版本控制并查看 TFS 的设置,但是当我尝试为项目启用版本控制时,TFS 不是一个选项。同样,我无法从 TFS 结账。
此外,TFS 的设置屏幕在我的新计算机安装上非常不同,只提供删除和更新配置的选项,但无法添加选项(所以我实际上无能为力)。关于这里出了什么问题有什么想法吗?
最佳答案
已测试安装riderRS-171.4456.199.exe
(Windows),TFS Integration插件已与Rider捆绑并成功启用VCS-TFVC。看来您正在使用 TFVC 版本控制(查看),请遵循以下要求:
You must have the TF command line tool installed to be able to use TFVC features. The minimum version supported by the plugin is 14.0.3. To install the tool, download the latest "TEE-CLC-14...zip" file and extract it to a known location. After extracting the files, you must accept the license agreement. To do so, open a Command Prompt/Terminal window, navigate to the extracted directory, and run
tf eula
. After reading the EULA, enter yenter code here
to accept it. NOTE: If you forget to do this, the plugin may fail to load with a RuntimeException.
要使插件检测到该工具,您必须按照以下说明在“设置/首选项”菜单中设置可执行文件的位置:
- 转到 RD 设置版本控制 -TFVC
在tf 可执行文件的路径文本字段中,导航到 tf 可执行文件。
点击测试来测试可执行文件是否已找到并且正在运行 正如预期的那样。
- 点击应用,然后点击确定保存并退出。
更多详细信息请参阅此tutorial。
当您将 Rider 与 TFS 结合使用时,还可以尝试设置新创建的项目或选择另一个项目。缩小问题是否与该特殊项目相关的范围。
关于tfs - Rider TFS 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44421217/