Visual Studio unable to locate git-credential-manager-core for recent git version
See original GitHub issueSourceLink doesn’t seem to work anymore for repository that require authentication.
It seems that recently the git installer has moved the location of git-credential-manager-core.exe
from C:\Program Files\Git\mingw64\libexec\git-core
to C:\Program Files\Git\mingw64\bin
(see https://github.com/GitCredentialManager/git-credential-manager/issues/762).
Visual Studio is no longer able to locate it, even if this folder is in the path.
Installing the standalone gcm-win
doesn’t fix the problem either.
Logs:
Navigating to symbol 'XXX()' from 'XXX'.
Symbol found in assembly path 'C:\Users\XXX\.nuget\packages\xxx\n.n.n\lib\netstandard2.1\XXX.dll'
Found embedded PDB file.
git-credential-manager-core.exe: "git-credential-manager-core.exe" could not be found.
ERROR: The request failed with code 404 : "NOT FOUND". Treating 404 as authentication failure. Some services return 404 instead of 401 for authentication failures.
Timed out trying to download source code from SourceLink. Subsequent requests may succeed.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
VS 2019 16.9.4 using GCM Core with "new Git experience" ...
Connecting to GitLab from Visual Studio 2019 16.9.4 with "GCM Core" selected in Options>Source Control>Git Global Settings>Credential Helper ...
Read more >How to re-authorize the OAuth Application 'Git Credential ...
In Visual studio code, click on profile icon and signout of git. Then login to github, go to settings > Applications > Authorized...
Read more >Git settings and preferences in Visual Studio
To configure Git settings in Visual Studio, choose Settings from the top-level Git menu. The Git menu with a callout to the Settings...
Read more >Git-Credential-Manager-for-Windows - Microsoft Open Source
Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
Read more >Git Credential Manager Core: Building a universal ...
Git Credential Manager Core : Building a universal authentication experience. Authentication is a critical component to your daily development.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alefranz yes it is known to be broken in preview 1 unfortunately, but will be fixed in preview 2.
If you need to fix in preview 1, you should be able to:
<vs install root>\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TeamExplorer.pkgdef
as Administrator in a text editor"GitCredentialManagerCoreExePath"="$PackageFolder$\Git\mingw64\libexec\git-core\git-credential-manager-core.exe"
to"GitCredentialManagerCoreExePath"="$PackageFolder$\Git\mingw64\bin\git-credential-manager-core.exe"
devenv /setup
ah! I’m on Preview 1 of 17.4.0, I’ll wait for the next preview and re-open if it will be still an issue. Thank you both and have a nice weekend!