Search code examples
githubvisual-studio-extensionsvisual-studio-2019

Can't uninstall GitHub extension in VS2019 16.3


My GitHub extension is NOT functioning as it did in VS2017. I cannot publish my new app to GitHub. In fact, when I enter my credentials to log onto GitHub via the extension, it still shows offline.

I am trying to uninstall the extension so I can re-install it and see if it fixes itself now that I upgraded to VS 2019 ver 16.3

The uninstall fails and the log file is enormous, don't know where to start. Any else having this issue?

Sample log

9/25/2019 10:47:58 AM - Microsoft VSIX Installer
9/25/2019 10:47:58 AM - -------------------------------------------
9/25/2019 10:47:58 AM - vsixinstaller.exe version:
9/25/2019 10:47:58 AM - 16.3.2099
9/25/2019 10:47:58 AM - -------------------------------------------
9/25/2019 10:47:58 AM - Command line parameters:
9/25/2019 10:47:58 AM - C:\Program Files (x86)\Microsoft Visual  Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe,/skuName:Pro,/skuVersion:16.3.29318.209,/appidname:Microsoft Visual Studio Professional 2019,/culture:en-US,/noep,/u:c3d3dc68-c977-411f-b3e8-03b0dccf7dfc,/callingprocessid:27568,/installas:3432
9/25/2019 10:47:58 AM - -------------------------------------------
9/25/2019 10:47:58 AM - Microsoft VSIX Installer
9/25/2019 10:47:58 AM - -------------------------------------------
9/25/2019 10:47:58 AM - Capping recursion at 5 directories in each extension root due to 'default limit'.
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\05tfg4me.dsb\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\0q2cgzzp.oxd\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\3pjlccdc.dkb\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\3rlnrul4.hii\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\5pjz43v4.juo\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\a2vmsqkn.uu2\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\c2ravt4h.jxw\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\Clide\extension.vsixmanifest'
9/25/2019 10:47:59 AM - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\ctj4usrr.tj0\extension.vsixmanifest'
...rest removed for brevity

Note:

I have now upgraded to VS2019 version 16.3.1


Solution

  • If you're confused about where to start, you can get some help from issue #1394.

    Also in my opinion, to uninstall the extension you can try:

    1.Open Developer command prompt for VS2019 and type vsixinstaller /uninstall:c3d3dc68-c977-411f-b3e8-03b0dccf7dfc.(Similar issue suggests us to install new version of the extension first, then run the command, but only step2 is enough for me, you can try both.)

    2.Or Uninstall the extension using VS installer instead of Extension Manager.

    enter image description here

    I updated my vs to latest VS16.3.1(brand new VS, never install extensions before) and found something interesting. If I install the Git extension from VS installer like pic above, the newest version I got(Installed tab) is 2.10.4.8063. But if I search the Git extension by Extensions=>Manage Extensions=>Online, the latest version is 2.9.1.7781.

    I assume maybe the latest 2.10.4.8063 is the one compatible with latest VS16.3.1, so I think for this Git extension, you should uninstall(also you can try command to uninstall) and then reinstall(Tools=>get Tools and Features=>modify to reinstall) it by Installer instead of Extensions manager or from the VS Marketplace website.