我尝试通过NuGet包安装Microsoft Roslyn。
PM> Install-Package Microsoft.CodeAnalysis -Version 1.3.2
Attempting to resolve dependency 'Microsoft.CodeAnalysis.CSharp.Workspaces (= 1.3.2)'.
Attempting to resolve dependency 'Microsoft.CodeAnalysis.CSharp (= 1.3.2)'.
Attempting to resolve dependency 'Microsoft.CodeAnalysis.Common (= 1.3.2)'.
Attempting to resolve dependency 'System.Collections.Immutable (≥ 1.1.37)'.
Attempting to resolve dependency 'System.Reflection.Metadata (≥ 1.2.0)'.
Install-Package : 'System.Reflection.Metadata' already has a dependency defined for 'System.Collections.Immutable'.
At line:1 char:16
+ Install-Package <<<< Microsoft.CodeAnalysis -Version 1.3.2
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand