我的GitHub扩展无法像VS2017那样运行。我无法将新应用发布到GitHub。实际上,当我输入我的凭据以通过扩展名登录GitHub时,它仍显示为脱机。
我正在尝试卸载扩展程序,以便我可以重新安装它,并在升级到VS 2019版本16.3后查看它是否可以自行修复
卸载失败,并且日志文件很大,不知道从哪里开始。还有其他问题吗?
样品记录
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
注意:
我现在已经升级到VS2019版本16.3.1
答案 0 :(得分:0)
如果您对从哪里开始感到困惑,可以从issue #1394获得一些帮助。
在我看来,要卸载该扩展程序,您可以尝试:
1。打开Developer command prompt for VS2019
并键入vsixinstaller /uninstall:c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
。(类似的问题建议我们先安装新版本的扩展程序,然后运行命令,但仅step2对我而言就足够了,您可以尝试两者)
2。或者使用VS安装程序而不是Extension Manager卸载扩展程序。
我将我的vs更新到了最新的VS16.3.1(全新VS,之前从未安装扩展程序),发现了一些有趣的东西。如果我从VS安装程序安装了Git扩展(如上图所示),则得到的最新版本(“已安装”标签)是2.10.4.8063。但是,如果我通过Extensions=>Manage Extensions=>Online
搜索Git扩展名,则最新版本为2.9.1.7781。
我假设最新的2.10.4.8063是与最新的VS16.3.1兼容的,所以我认为对于此Git扩展,您应该卸载(也可以尝试命令卸载),然后重新安装(工具=>获取工具)和Features =>修改以重新安装),而不是通过扩展程序管理器或VS Marketplace网站通过安装程序进行安装。