Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code Can';t安装Visual Studio代码扩展_Visual Studio Code - Fatal编程技术网

Visual studio code Can';t安装Visual Studio代码扩展

Visual studio code Can';t安装Visual Studio代码扩展,visual-studio-code,Visual Studio Code,我下载了最新版本的Visual Studio Windows代码 当我试图通过应用程序本身下载并安装扩展时,我得到一个未能安装扩展x错误。 然后,当我单击手动下载并双击安装时,出现以下错误: 安装失败。安装程序无法安装 扩展到所有选定的产品。有关更多信息,请单击 对话框底部的安装日志链接 这是该日志中显示的内容: 2019-11-29 9:17:27 AM - Searching for applicable products... 2019-11-29 9:17:27 AM - Found i

我下载了最新版本的Visual Studio Windows代码

当我试图通过应用程序本身下载并安装扩展时,我得到一个
未能安装扩展x
错误。 然后,当我单击手动下载并双击安装时,出现以下错误:

安装失败。安装程序无法安装 扩展到所有选定的产品。有关更多信息,请单击 对话框底部的安装日志链接

这是该日志中显示的内容:

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

这很有帮助,而且和我一起工作

以下是windows的必要步骤:

第一步

首先,在windows PC中,进入控制面板,选择网络和共享中心

步骤2

然后单击“更改适配器设置”

步骤3

右键单击您拥有的internet连接并选择属性

步骤4

选择internet协议版本4并单击同一窗口上的属性框

步骤5

在“常规”选项卡的最后一个框中,选择“使用以下DNS”

步骤6

Prefered DNS: 8.8.8.8
Alternative DNS: 8.8.4.4

嘿,请尝试在你的答案中总结链接的内容-否则,断开的链接将使其无效:)步骤1。首先,在windows PC中,进入控制面板,选择网络和共享中心。第二步。然后单击“更改适配器设置”。第三步。右键单击您拥有的internet连接,然后选择属性步骤4。选择internet协议版本4并单击同一窗口上的属性框步骤5。在“常规”选项卡的最后一个框中,选择“使用以下DNS”步骤6。首选DNS:8.8.8.8步骤7。备选域名系统:8.8.4.4