无法安装Blazor扩展

时间:2019-06-16 10:01:24

标签: visual-studio blazor

我在Win 10机器上安装了VS 2019 16.1.3和.Net Core 3 SDK预览版6,并且当我尝试安装Blazor Extensions时失败了,并抛出了此异常:

注意:(它在我将VS 2019更新到16.1.3和.Net core 3 SDK进行预览6之前就可以工作

6/16/2019 12:55:28 AM - Searching for applicable products...
6/16/2019 12:55:28 AM - Found installed product - Global Location
6/16/2019 12:55:28 AM - Found installed product - ssms
6/16/2019 12:55:28 AM - Found installed product - Visual Studio Community 2019
6/16/2019 12:55:29 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
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)

1 个答案:

答案 0 :(得分:1)

我不确定现在是否通过您看到的错误来强制执行此操作,但是您需要使用Visual Studio的最新预览版而不是GA版本。

当前预览版本为16.2 Preview 2