Visual studio code VSCode可以';t仅在安装C#扩展时检测安装

Visual studio code VSCode可以';t仅在安装C#扩展时检测安装,visual-studio-code,Visual Studio Code,我的版本是1.24.1。我尝试过的其他扩展的每一次安装都有效 当我尝试为VisualStudio安装“C”时,出现错误“安装'ms vscode.csharp'失败” 然后我尝试手动安装vsix文件,我得到了这个错误 This extension is not installable on any currently installed products 以下是完整的日志: 6/22/2018 6:14:59 PM - Microsoft VSIX Installer 6/22/2018 6:

我的版本是1.24.1。我尝试过的其他扩展的每一次安装都有效

当我尝试为VisualStudio安装“C”时,出现错误“安装'ms vscode.csharp'失败”

然后我尝试手动安装vsix文件,我得到了这个错误

This extension is not installable on any currently installed products
以下是完整的日志:

6/22/2018 6:14:59 PM - Microsoft VSIX Installer 6/22/2018 6:14:59 PM -
------------------------------------------- 
6/22/2018 6:14:59 PM - vsixinstaller.exe version: 
6/22/2018 6:14:59 PM - 15.6.152+ge95e4dd1ce
6/22/2018 6:14:59 PM - -------------------------------------------
6/22/2018 6:14:59 PM - Command line parameters: 
6/22/2018 6:14:59 PM -
C:\Program Files (x86)\Microsoft Visual
Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\Matthew\Downloads\ms-vscode.csharp-1.15.2(1).vsix 
6/22/2018 6:14:59 PM -------------------------------------------- 
6/22/2018 6:14:59 PM - Microsoft VSIX Installer 
6/22/2018 6:14:59 PM -------------------------------------------- 
6/22/2018 6:14:59 PM - Initializing Install... 
6/22/2018 6:15:03 PM - Extension Details...
6/22/2018 6:15:03 PM -  Identifier         : csharp 
6/22/2018 6:15:03PM -   Name               : C# 
6/22/2018 6:15:03 PM -  Author             : ms-vscode 
6/22/2018 6:15:03 PM -  Version            : 1.15.2
6/22/2018 6:15:03 PM -  Description        : C# for Visual Studio Code (powered by OmniSharp). 
6/22/2018 6:15:03 PM -  Locale             : en-US 
6/22/2018 6:15:03 PM -  MoreInfoURL        :  
6/22/2018 6:15:03PM -   InstalledByMSI     : False
6/22/2018 6:15:03 PM -  SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
6/22/2018 6:15:03 PM -  
6/22/2018 6:15:03 PM -  SignatureState     : Unsigned 
6/22/2018 6:15:03 PM -  Supported Products :  
6/22/2018 6:15:03 PM -      Microsoft.VisualStudio.Code 
6/22/2018 6:15:03 PM  Version :  
6/22/2018 6:15:03 PM -  
6/22/2018 6:15:03 PM - References         :  
6/22/2018 6:15:03 PM - Signature Details...
6/22/2018 6:15:03 PM -  Extension is not signed. 
6/22/2018 6:15:03 PM -  
6/22/2018 6:15:03 PM - Searching for applicable products... 
6/22/2018 6:15:03 PM - Found installed product - Global Location
6/22/2018 6:15:03 PM - Found installed product - Visual Studio Community 2017
6/22/2018 6:15:03 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.    
at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean
isRepairSupported, IEnumerable`1& skuData)    
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)    
at VSIXInstaller.App.Initialize()    
at System.Threading.Tasks.Task`1.InnerInvoke()    
at System.Threading.Tasks.Task.Execute()
我已尝试重新安装扩展,重新安装VScode,然后重新启动。
我不支持代理或vpn

错误似乎是它无法检测visual studio代码,即使它确实已安装。这是安装C#扩展所独有的。

似乎检测到Visual Studio(社区版),但不是.Net核心

如“”所示,在安装该扩展之前,请确保已首先安装