Error updating and uninstalling Github extension on Visual Studio 2017 Community edition


I update the Visual Studio 2017 Community edition to the lasted version and when i try to update the Github extension to, i got an error “Modifications Failed / Some modifications could not be applied successfully. For more information, chick on the install log link at the bottom of the dialog”. I also try to uninstall the extension and the installer also failed.

The last lines of the log are:

"1/18/2018 9:25:15 AM - Found ‘C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\Microsoft\Windows Kits\8.1\Windows Store SDK\extension.vsixmanifest’ 1/18/2018 9:25:15 AM - Skipping ‘C:\Users\ADMINAIMS\AppData\Local\Microsoft SDKs’ as it doesn’t exist 1/18/2018 9:25:15 AM - Uninstalling ‘GitHub Extension for Visual Studio’, version 1/18/2018 9:25:15 AM - pkgCatalogPath is ‘C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\GITHUB\GITHUB\catalog.json’. 1/18/2018 9:25:17 AM - vsPkg.Version is ‘’. extension.Header.Version is ‘’ 1/18/2018 9:25:18 AM - System.InvalidOperationException: Uninstall of GitHub Extension for Visual Studio failed. To uninstall this extension please uninstall all of the following components: at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineUnInstall(IInstalledExtension extension, Boolean downgrade) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.UninstallInternal(IInstalledExtension extension, Boolean forceDelete, Version targetedVSVersion, Boolean downgrade) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.Uninstall(IInstalledExtension extension, Version targetedVSVersion) at VSIXInstaller.InstallProgressPage.UninstallVsix(String vsixId, SupportedVSSKU targetSku, IProgress`1 progress) "

Did you try backing up your data and reinstalling VSCode entirely?

Dear Mark,

I didn’t try to uninstall Visual Studio 2017 Community edition (version 15.5.4) on my Windows 7 SP1 64bits machine (build 7601) since all the installed packages are near 20 Gb. I can run a repair, but it may take some hours.

The information about the issue is:


Package ‘GitHub.VisualStudio,version=’ failed to install.
Search URL;PackageAction=Install;ReturnCode=-2146232800
Return code: -2146232800
Return code details: The file ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\GitHub\GitHub\Akavache.dll’ already exists.
Impacted components
GitHub Extension for Visual Studio (Component.GitHub.VisualStudio,version=

Well, then you’ll probably want to file an issue here: and/or here:

Dear Mark,

It looks like an issue with Github extension

Why do you think it’s an issue with Visual Studio 2017 Community edition?

Best regards,


Oh, I’m sorry - I skipped to the error messages too fast and didn’t notice you were talking about VS studio, not VS code…

Then you should probably report this at the GitHub page for the extension since avery specific update mad eveerything fail? But I don’t really know.

Good luck!

I’m not sure if you have had a chance to check this out, but we opened an issue in our repository detailing different problems with the installer and common solutions: I encourage you to see if there any any similar problems to yours and try the recommended solution.

If you are still having problems after that, I can escalate this issue to our contacts at Microsoft, as they are the ones who provide the installer.