Getting a System.MissingMethodException: Method not found when trying to push to GitHub
Recently I started getting this error message when trying to push my commits locally to our repo in GitHub using Azure Data Studio:
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.