Getting a System.MissingMethodException: Method not found when trying to push to GitHub

Falanga, Rod, DOH 190 Reputation points
2024-10-01T19:44:18.16+00:00

Recently I started getting this error message when trying to push my commits locally to our repo in GitHub using Azure Data Studio:

User's image

Looking at the Git log I see this:

2024-10-01 13:32:19.183 [info] Unhandled Exception: System.MissingMethodException: Method not found: 'Void System.CommandLine.Argument`1..ctor(System.String, System.String)'. at Microsoft.AzureRepos.AzureReposHostProvider.GitCredentialManager.Commands.ICommandProvider.CreateCommand() at GitCredentialManager.Application.RegisterProvider(IHostProvider provider, HostProviderPriority priority) at GitCredentialManager.Program.AppMain(Object o) at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart(Object obj) fatal: read error: Invalid argument fatal: expected flush after ref listing 2024-10-01 13:32:19.285 [info] > git config --get commit.template [97ms]

Why am I getting this? I would have thought that Azure Data Studio would work better than this. I'm working with version 1.49.1 on a Windows 11 Enterprise Edition PC.

GitHub Training
GitHub Training
GitHub: A web-based hosting service for software development and version control using Git. Acquired by Microsoft in 2018.Training: Instruction to develop new skills.
47 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.