修复此错误
我找到了一种解决方法。事实证明,对于某些(但不是所有)安装,RC安装程序安装的是git的预发布版本。您可以通过在Visual Studio副本上安装最新版本的git来修复此问题(VS2017不会在您的路径中使用git )。
在这里下载32位版本的git:https://github.com/git-for-windows/git/releases/download/v2.11.1.windows.1/PortableGit-2.11.1-32-bit.7z.exe
运行您下载的文件。您将看到一个弹出窗口,询问您要将git解压到何处,请输入以下文件夹:
C:\Program Files (Git)\Microsoft Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\x86
发布于 2020-08-20 01:41:49
这个问题也有待解决。
Remove the TFS related credentials from Credential Manager
In Credential Manager add the new updated Generic Credentials for the TFS account. Generally, this would overwrite the cached credentials.
Close all Visual Studio instances, delete %LOCALAPPDATA%\.IdentityService as you did.
Clear TFS caches %LOCALAPPDATA%\Microsoft\Team Foundation\7.0\Cache
Clear all the browser caches especially for the stored password
Restart Visual Studio > Team Explorer > Manage Connections to check if the Enter credential dialog popup. Just try this several times. Based on my test the dialog will popup the first time, but if you cancel it, then you have to restart VS to popup it again.
Run Visual Studio as another user:
cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
runas /netonly /user:<account> devenv.exe
Enter the user possword, then Team Explorer > Manage Connectionshttps://stackoverflow.com/questions/63492227
复制相似问题