Can't use local workspace
modbw opened this issue · 7 comments
I can't use my local workspace with the extension. Looks good with the TEE CLC client and I can do basic stuff with the CLC. Nothing can be done in VSCode. I see Team (!) in the lower left corner of the VSCode window and captured the following log file.
2019-01-15T15:26:57.965Z - info: [08044] *** FOLDER: l:\xx\src ***
2019-01-15T15:26:57.965Z - info: [08044] AzureReposVSCode/1.144.1 (VSCode 1.30.2; Windows_NT
10.0.15063; Node 8.9.3)
2019-01-15T15:26:57.965Z - debug: [08044] Looking for an External Context at l:\xx\src
2019-01-15T15:26:57.965Z - debug: [08044] No External Context at l:\xx\src
2019-01-15T15:26:57.969Z - debug: [08044] Looking for TFVC repository at l:\xx\src
2019-01-15T15:26:57.970Z - debug: [08044] TFVC Creating Tfvc object with localPath='undefined'
2019-01-15T15:26:57.970Z - debug: [08044] Using TFS proxy:
2019-01-15T15:26:57.970Z - debug: [08044] TFVC Retrieved from settings; localPath='C:\tmp\TEE-CLC-14.134.0\tf.cmd'
2019-01-15T15:26:57.970Z - debug: [08044] TFVC Repository created with repositoryRootFolder='l:\xx\src'
2019-01-15T15:26:57.971Z - debug: [08044] TFVC Repository.CheckVersion
2019-01-15T15:26:57.971Z - debug: [08044] TFVC: tf add -noprompt -?
2019-01-15T15:26:57.976Z - debug: [08044] TFVC: spawned new process (duration: 5ms)
2019-01-15T15:26:57.982Z - debug: [08044] TFVC: spawned new process (duration: 6ms)
2019-01-15T15:26:59.527Z - debug: [08044] TFVC: add exit code: 0 (duration: 1556ms)
2019-01-15T15:26:59.528Z - debug: [08044] TFVC Minimum required version: 14.0.4
2019-01-15T15:26:59.528Z - debug: [08044] TFVC (TF.exe, TF.cmd) version: 14.134.0.201804261732
2019-01-15T15:26:59.528Z - debug: [08044] TFVC Repository.FindWorkspace with localPath='l:\xx\src'
2019-01-15T15:26:59.528Z - debug: [08044] TFVC: tf workfold -noprompt ********
2019-01-15T15:26:59.533Z - debug: [08044] TFVC: spawned new process (duration: 5ms)
2019-01-15T15:27:00.973Z - debug: [08044] TFVC: workfold exit code: 0 (duration: 1445ms)
2019-01-15T15:27:00.973Z - debug: [08044] Found a TFVC repository for url: 'http://xyz:8080/tfs/development/' and team project: 'prj'.
2019-01-15T15:27:00.974Z - debug: [08044] Parsing values from repositoryInfo as string url
2019-01-15T15:27:00.975Z - debug: [08044] TFVC Creating Tfvc object with localPath='undefined'
2019-01-15T15:27:00.975Z - debug: [08044] Using TFS proxy:
2019-01-15T15:27:00.975Z - debug: [08044] TFVC Retrieved from settings; localPath='C:\tmp\TEE-CLC-14.134.0\tf.cmd'
2019-01-15T15:27:00.975Z - debug: [08044] TFVC Repository created with repositoryRootFolder='l:\xx\src'
2019-01-15T15:27:00.976Z - debug: [08044] Could not parse repository url: undefined
2019-01-15T15:27:01.003Z - debug: [08044] Started ApplicationInsights telemetry
2019-01-15T15:27:01.003Z - info: [08044] Getting repository information with repositoryInfoClient
2019-01-15T15:27:01.003Z - debug: [08044] RemoteUrl = http://xyz:8080/tfs/development/
2019-01-15T15:27:01.003Z - debug: [08044] Getting repository information for a TFVC repository at http://xyz:8080/tfs/development/
2019-01-15T15:27:01.004Z - debug: [08044] Parsing values from repositoryInfo as string url
2019-01-15T15:27:01.004Z - debug: [08044] Starting the validation of the collection. Url: 'http://xyz:8080/tfs/development/'
2019-01-15T15:27:01.034Z - error: [08044] Failed Request: Proxy Authentication Required(407) - http://xyz:8080/tfs/development/_apis/tfvc/branches Error: Error: Failed Request: Proxy Authentication Required(407) - http://xyz:8080/tfs/development/_apis/tfvc/branches
2019-01-15T15:27:01.035Z - debug: [08044] Error: Failed Request: Proxy Authentication Required(407) - http://xyz:8080/tfs/development/_apis/tfvc/branches
2019-01-15T15:27:01.036Z - info: [08044] Sent TFVC tooling telemetry
2019-01-15T15:27:01.036Z - debug: [08044] Initializing the TfvcSCMProvider
2019-01-15T15:27:01.039Z - debug: [08044] TFVC Repository.CheckVersion
2019-01-15T15:27:01.040Z - debug: [08044] TFVC: tf add -noprompt -?
2019-01-15T15:27:01.049Z - debug: [08044] TFVC: spawned new process (duration: 9ms)
2019-01-15T15:27:01.130Z - debug: [08044] TFVC: add exit code: 0 (duration: 90ms)
2019-01-15T15:27:01.130Z - debug: [08044] TFVC Minimum required version: 14.0.4
2019-01-15T15:27:01.130Z - debug: [08044] TFVC (TF.exe, TF.cmd) version: 14.134.0.201804261732
2019-01-15T15:27:01.131Z - debug: [08044] TFVC Repository.GetStatus
2019-01-15T15:27:01.131Z - debug: [08044] TFVC: tf status -noprompt -format:xml -recursive
2019-01-15T15:27:01.135Z - debug: [08044] TFVC: spawned new process (duration: 4ms)
I am having the same issue. After fixing the authentication issue in 1.31 it now views all local workspaces as server workspaces.
yes it does now. That didn't work last week for some reason. Hadn't tried it until today. Was in the process of getting WebStorm setup.
Maybe post how to disable proxy support? BTW, that doesn't work for me. Still treats my local workspace as a server workspace.
@jrichview Must be a different problem then. Has it worked at an earlier point?
@jrichview Must be a different problem then. Has it worked at an earlier point?
No, never has. Not with VSCode anyway. Works fine with VS2017 . Currently I do manual checkins/checkouts via the source code explorer in that. Also where I manage my workspace settings.
It is absolutely ridiculous that this functionality still does not work. Trying to set my team up to use Visual Studio Code with Azure DevOps, which should work seamlessly, but I'm getting the same error I used to when I first set this up for myself a couple of years ago. I have a local workspace and VS Code thinks it's a server workspace. WHEN WILL THIS BE FIXED???!!!