安装包中的错误Microsoft.CodeAnalysis -Version 1.3.2

时间:2016-09-05 20:19:33

标签: roslyn roslyn-code-analysis

我尝试通过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

0 个答案:

没有答案