Closed PawelMaslak closed 4 years ago
I also have the same issue. I've been trying all of "googled" workarounds - nothing helps. Log:
2020-03-31T10:59:57.932Z - info: [15380] AzureReposVSCode/1.161.0 (VSCode 1.43.2; Windows_NT 10.0.17763; Node 12.8.1)
2020-03-31T10:59:58.358Z - info: [15380] Getting repository information with repositoryInfoClient
2020-03-31T11:00:00.302Z - info: [15380] Getting connectionData with accountClient
2020-03-31T11:00:00.586Z - info: [15380] Retrieved connectionData with accountClient
2020-03-31T11:00:00.587Z - info: [15380] Sent extension start up telemetry
2020-03-31T11:00:00.587Z - info: [15380] Sent TFVC tooling telemetry
2020-03-31T11:00:01.740Z - error: [15380] Caught an exception during Tfvc SCM Provider initialization
2020-03-31T11:00:01.741Z - error: [15380] It appears you are using a Server workspace. Currently, TFVC support is limited to Local workspaces.
I also have the same issue. I've been trying all of "googled" workarounds - nothing helps.
The way around this issue is to open your project in Visual Studio and commit from there. The disadvantage of this is very unfortunate as Visual Studio does not detect changes in the code so I have to delete project from source control and then add it once again. Still, I find it better than losing your code so I do that. It's so surprising that VS Code works so fine with GIT whereas with TFS is total shambles.
I solved it in my case. The problem was in login credentials... when i typed login with domain (domain\username) it has started working. I had to debug the exetension to discover it 😅
In my case the problem was with command:
tf resolve -noprompt -login:{configured_login},{configured_password} {dir} -recursive -preview
I have tried to connect TFS to Visual Studio code, followed then all steps needed to set up this and the message I receive is:
"It appears you are using a Server workspace. Currently, TFVC support is limited to Local workspaces."
Of course I googled for this and found loads of topics similar to that so I tried:
AND
The message stays the same. I use latest issue of VS Code and VS 2019.
Has anyone found permanent fix to this issue?