.NET 编译器平台:不工作

.NET Compiler Platform: Not Working

我安装了 Microsoft Visual Studio Enterprise 2017 Version 15.5.5(显然是日期的最新版本)。但是,我无法使用 .NET Compiler Platform SDK。我曾经将它作为扩展,现在它只是在警告下不起作用。警告说:"This extension is disabled because the installed version is incompatible with Visual Studio. Please go to the Updates tab to get the latest version of this extension to enable it"。 “更新”选项卡上没有任何内容。

知道如何解决这个问题吗?

这已被跟踪为 dotnet/roslyn-sdk 上的一个问题。

解决方法

  1. 运行 Visual Studio 安装程序
  2. 点击修改
  3. Select 单个组件选项卡
  4. 选中 .NET Compiler Platform SDK 复选框