-
Notifications
You must be signed in to change notification settings - Fork 447
TFVC fails with a non-English version of TF.exe #180
Comments
See this #177 |
Hi @alexmtnezf and thanks @alelapeyre. I'd be interested in seeing the output (as much as you can show) from this command: |
@jeffyoung I have the same issue and running the tf command, I obtain the following output :
(as you can see, I work in France...). |
Have you restarted your shell (cmd.exe or powershell)? |
Of course : I have even launch a new shell after the renaming... |
Just wanted to make sure :-) |
Can you try to prefix the folder name (I renamed mine from "de" to "xde")? Or remove the underscore? |
I have try with "xfr" and opening a brand new shell and re-executing the command, same result : in french... I don't understand: it looks like the locale is cached or not taken in this folder (I have double checked that it is really the same folder than the tf.exe executable). |
Can you also ensure that there are no running instances of tf.exe? This issue only affects tf.exe (as the TEE CLC can be set to return ENU only results) and, for some reason, the French resources are being loaded (even though they shouldn't be found since the folder has been renamed). You may want to ensure that VS Code is closed when you do it. (To improve performance in the editor, we try and keep an instance of tf.exe running and ready to run commands when a user takes an action in VS Code. If you close VS Code, those should be closed as well.) |
I have checked : there is no more tf.exe process running. The only remaining point is that I have the TFS Power tools installed and I don't succeed to kill it (TfsComProviderSvr.exe is automatically relaunched after I kill it and I don't find any associated service I can suspend or other...). |
Ideally, the tf.exe (and its dependencies) would be a tool that you could get on its own. That is, separate from Visual Studio. If we had that, we could just install the English version of TF.exe and point the extension there (problem solved). I don't know if there are plans for that but what appears to be happening is the I have a French version of Windows running (in a VM) and TF.exe loads that assembly from Renaming that folder could have some unknown side-effects (and certainly isn't a long-term workaround). I'd either have to start parsing localized strings or we'd have to get an English version of TF.exe on the box (even through another downloaded version of Visual Studio). But it may suffice in the short-term (although you'd need to determine from where the assembly is being loaded using procmon). |
Oh ok : good method! I have procmon on my PC but don't think to use it for this problem... Nevertheless, as my team uses large projects, we mainly work with server workspaces (I have created a sample local workspace in order to test) : I am now watching issue #176 as I have a workaround for language issue :-) Thanks for your help and this great extension! |
The solution offered by @MindGirl worked for me. Thanks to @jeffyoung too. I renamed the es folder to es-xx and voilá, there's not error anymore. |
Great to hear! Thanks for following up. |
I'm trying to connect using my Personal Token on my Team Services account, and Visual Studio Code always report this:
"2017-04-17T04:06:19.073Z - error: [13588] It appears you have configured a non-English version of the TF executable. Please ensure an English version is properly configured."
My Visual Studio 2017 has its TF.exe in this path:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe",
This is a screenshot of the error:
The text was updated successfully, but these errors were encountered: