How to use Visual Studio's TFVС local workspace in Rider

Starting with the release of Azure DevOps v1.160 plugin, only items 1, 3, and 4 are required. After enabling version control integration, everything else will be automatically executed by the plugin.

  1. Download the TF command-line tool and accept its license:
  2. Run the following command in the command line (it is described here and here):
    tf.cmd workspaces /collection:<collection-url>.
  3. Open your solution in Rider.
  4. Make sure that the tf.cmd tool is specified in Settings | Version Control | TFVC.
  5. Call VCS ->Enable Version Control Integration.
  6. Go to VCS -> TFVS -> Manage Workspaces, select your server, and press "Reload workspaces."
  7. Select the workspace that you use in Visual Studio and press "Edit."
  8. You will see the OAuth window. Sign in to your account.
  9. After that, press "Save Workspace" and close the "Manage TFVS" window.
  10. 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.
Comment actions Permalink

If you use a new workspace you need to map remote and local folders by running the command 

./tf workfold /map '$/<your remote project folder>' <local folder> /collection:<collectionUrl> /workspace:workspaceName 

the <local folder> should be your solution folder with .sln file inside.

Do this step after the second step in this post.

Edited by Sofia Byzova
Comment actions Permalink

Since release of Azure DevOps plugin v1.160, only items 1, 3 and 4 are required. After enabling of the version control integration, everything else will be performed automatically by the plugin.

Comment actions Permalink

On a mac and seem to be doing everything right but my workspaces never show up in Version Control / Azure Dev Ops Services / TFS ?




Comment actions Permalink

Mike Calvin, hello! Please note this is an article about importing of existing workspaces on Windows. If you have any other problems on macOS, then, please, submit a separate request or report your issue directly into the issue tracker.

Comment actions Permalink


OK Great, then where do I find instructions for Mac ? 

Comment actions Permalink

There're no instructions to import Visual Studio workspaces on Mac, because there're no workspaces created by Visual Studio on Mac. According to my knowledge, VS for Mac doesn't support the TFVC. So, you cannot import them, since there's nothing to import.

Comment actions Permalink

I am running evaluation copy of Rider 2020. The existing project is under Azure DevOps TFS  VCS system (not Azure DevOps git). There are many branches in the project. I am trying to figure out to checkout only specific branches and do regular works like send "Request review", "Review other devs code", "Commit" etc. Merging code from one branch to another is also important part of the code flow. Can you please help with this?

Edited by Vkumar2089

Please sign in to leave a comment.

Have more questions?

Submit a request