Rider is able to import TFS workspaces created by Visual Studio. Particular actions required to import a workspace depend on the Azure DevOps plugin installed.
As a prerequisite, you’ll be required to install the Team Explorer Everywhere command-line client (TEE-CLC release), and configure a path to it in Rider Settings | Version Control | TFVC | Classic TF command-line client (choose tf.cmd file on Windows, and tf file on macOS and Linux).
Azure DevOps 1.161 and newer
Local workspace
- Open a solution that is under Visual Studio version control.
- Select the main menu item VCS → Enable Version Control Integration… and select TFVC.
Server workspace
- Run the following command in the command line (as described here and here):
tf.cmd workspaces /collection:
(this command will update the Team Everywhere command-line client workspace cache, so it will know about your workspace) - Open your solution in Rider.
- In case the workspace wasn’t imported automatically (a TFVC tab didn’t appear), select the main menu item VCS | Enable Version Control Integration… and select TFVC.
Azure DevOps 1.160 (only local workspaces are supported)
- Open a solution that is under Visual Studio version control.
- Select a main menu item VCS | Enable Version Control Integration… and select TFVC.
Azure DevOps 1.159 and older (only local workspaces are supported)
- Run the following command in the command line (it is described here and here):
tf.cmd workspaces /collection: - Open your solution in Rider.
- Make sure that the tf.cmd tool is specified in Settings | Version Control | TFVC.
- Call VCS | Enable Version Control Integration.
- Go to VCS | TFVC | Manage Workspaces, select your server, and press Reload workspaces.
- Select the workspace that you use in Visual Studio and press Edit.
- You will see the OAuth window. Sign in to your account.
- After that, press Save Workspace and close the Manage TFVC window.
- After all, you will see a repository in Settings | Version Control | Team Services / TFS, and your project is now ready for working with VCS in Rider.
Comments
0 comments
Please sign in to leave a comment.