![](/img/trans.png)
[英]Visual Studio 2019 Github extension commands: “pop and restore staged” vs “pop all as unstaged”?
[英]Visual Studio 2019 is not detected by Github extension
在我的 Visual Stuio 仍在運行時為 VS 運行 Github 擴展后,我收到以下錯誤消息。 我很感激一些指導如何解決這個問題。
也許我的問題應該是:如果 Github 已經內置,當我單擊 VS window 左側的源代碼控制圖標時,我看不到“克隆回購”按鈕。 即使我已經在 VS 中登錄到 Github 也是如此。
> Microsoft VSIX Installer
> -------------------------------------------
> vsixinstaller.exe version:
>
> Command line parameters:
> C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\Jim\GitHub.VisualStudio-v2.11.106.vsix
>
> Microsoft VSIX Installer
> Skipping product Microsoft.VisualStudio.Product.BuildTools (7670aa47) since it does not support extensions
> Initializing Install...
> Extension Details...
> Identifier : c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
> Name : GitHub Extension for Visual Studio
> Author : GitHub, Inc
> Version : 2.11.106.19330
> Description : A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
> Locale : en-US
> MoreInfoURL : https://visualstudio.github.com/
>
> InstalledByMSI : False
> SupportedFrameworkVersionRange : [4.5,)
>
> SignatureState : ValidSignature
> SignedBy : GitHub, Inc.
> Certificate Info :
> [Subject] : CN="GitHub, Inc.", O="GitHub, Inc.", L=San Francisco, S=California, C=US
> [Issuer] : CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
> [Serial Number] : 09144B52C8330F257D2512DAAAA1E545
> [Not Before] : 5/2/2020 8:00:00 AM
> [Not After] : 9/2/2023 8:00:00 PM
> [Thumbprint] : 9C5A6D389E1454F2ED9EE9419CDF743689709F9C
>
> Supported Products :
> Microsoft.VisualStudio.Community
> Version : [14.0,17.0)
>
> References :
> Identifier : Microsoft.VisualStudio.MPF.14.0
> Name : Visual Studio MPF 14.0
> Version : [14.0,)
> MoreInfoURL :
> Nested : No
>
> Prerequisites :
> Identifier : Microsoft.VisualStudio.Component.CoreEditor
> Name : Visual Studio core editor
> Version : [15.0.25824.0,)
>
> Signature Details...
> Extension is signed with a valid signature.
>
> Searching for applicable products...
> Found installed product - Global Location
> VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
> at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension
> extension, String extensionPackParentName, Boolean isRepairSupported,
> IStateData stateData, IEnumerable`1& skuData)
> at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported,
> IStateData stateData, IEnumerable`1& skuData)
> at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData
> stateData, Boolean isRepairSupported)
> at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData
> stateData, Boolean isRepairSupported)
> at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
> at VSIXInstaller.App.Initialize()
> at System.Threading.Tasks.Task`1.InnerInvoke()
> at System.Threading.Tasks.Task.Execute()
> --- End of stack trace from previous location where exception was thrown ---
> at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
> exceptionObject)
Github 支持現在內置在 VS2019 中。 您可能在內置版本和擴展之間存在沖突。 您可以安全地卸載您的擴展程序。
你是從市場上買的嗎? 這些可以在 VS 運行時安裝,它們只是告訴你之后重新啟動。 如果是第三方擴展,在 VS 運行時安裝它可能不是一個好主意。
否則:
Tools > Options > Source Control > Plug-in Selection
設置為Git
。Plug-in Selection
下方,允許您設置全局和每個存儲庫/解決方案設置。 存儲庫 window 不再是 Git 集成的源代碼控制或團隊資源管理器。 It's been migrated to two panel windows: View > Git Changes
and View > Git Repository
along with an entire menu bar item Git
located next to View
.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.