[英]Can't install Visual Studio Code extensions
我下載了適用於 Windows 的最新版本的 Visual Studio Code。
當我嘗試通過應用程序本身下載並安裝擴展程序時,我收到了Failed to install extension x
錯誤。 當我然后單擊Download Manually
並雙擊安裝時,我收到以下錯誤:
安裝失敗。 安裝無法將擴展安裝到所有選定的產品。 有關更多信息,請單擊對話框底部的安裝日志鏈接。
這是該日志中出現的內容:
2019-11-29 9:17:27 AM - Searching for applicable products...
2019-11-29 9:17:27 AM - Found installed product - Microsoft Visual Studio Professional 2015
2019-11-29 9:17:27 AM - Found installed product - Microsoft Visual Studio Community 2015
2019-11-29 9:17:27 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
2019-11-29 9:17:27 AM - Found installed product - Global Location
2019-11-29 9:17:27 AM - Found installed product - ssms
2019-11-29 9:17:27 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
問題是什么?
這是一個鏈接,可讓您將 DNS 更改為 google DNS
https://www.techworm.net/2016/08/change-default-dns-google-dns-fast-internet-speeds.html
它非常有幫助,並與我一起工作。
以下是 Windows 的必要步驟:
第1步
首先,在您的 Windows PC 中,轉到“控制面板”並選擇“網絡和共享中心”。
第2步
然后單擊更改適配器設置。
第 3 步
右鍵單擊您擁有的互聯網連接並選擇屬性
第四步
選擇 Internet 協議版本 4,然后單擊同一窗口中的屬性框
第 5 步
在常規選項卡中,在最后一個框中,選擇“使用以下 DNS”
第 6 步
Prefered DNS: 8.8.8.8
Alternative DNS: 8.8.4.4
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.