-
Notifications
You must be signed in to change notification settings - Fork 447
Cannot link VS Code in OSX to VSTS #421
Comments
I am having the same issue. Did you ever discover what the problem was? Thanks |
Yes, I simply clicked on Clone in VS Code from Azure DevOps (top right menu) |
Thanks for the quick answer! Unfortunately whist I think I have created a Workspace using the: If so, even though like you I didn't get any errors when I run the: command. Hmmmm |
Ah, I think I may have found one of the issues - When I restarted VS Code it asked me if I wanted to 'Set Up TFVC Support....', when I clicked on it it told me that '(team) Unable to find tfvc executable'. I checked and I had put the 'full path' as it said, i.e. '/usr/local/Cellar/tee-clc/14.134.0/bin', but not the actual filename '/usr/local/Cellar/tee-clc/14.134.0/bin/tf'. Once I had corrected this, this error went away. Still not seeing the 'Azure DevOps' top right menu though. |
I'm trying to connect VS Code in OSX to our code repository in Visual Studio Team Services.
Machine information:
OS: Mac OS X High Sierra
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
VS Code Version 1.25.1 (1.25.1)
TEE-CLC-14.134.0
I've followed the tutorial and also the suggestions in this post by @jeffyoung :
#174
What I have done is create a workspace using:
tf workspaces -collection:https://ourURL.visualstudio.com
Then created a local workspace using:
tf workspace -new -collection:https://ourURL.visualstudio.com -location:local MI-Workspace
Then created a local folder mapping using:
tf workfold -map -collection:https://ourURL.visualstudio.com -workspace:MI-Workspace $/MyFirstProject .
When I run the command
tf get -all
from the workspace directory MI-Workspace, I get the message:An argument error occurred: The workspace could not be determined from any argument paths or the current working directory.
When I run the command
tf workfold -workspace:MI-Workspace
, I get the message:So there is a workspace and mapping created. When I run the command
tf workspaces
, I get the message:When I open the folder in VS Code, I get the message:
When running
ls -a
from the MI-Workspace folder, there also isn't a .tf file present. It's completely empty and returns:. ..
What am I doing wrong?
The text was updated successfully, but these errors were encountered: