windows-phone-8 – NuGet在安装包时添加引用错误

我无法通过Nuget安装任何软件包.

Install-Package MyToolkit.Extended

Attempting to resolve dependency 'MyToolkit (≥ 2.2.3.0)'.
Attempting to resolve dependency 'Microsoft.Bcl.Async (≥ 1.0.166)'.
Install-Package : The 'Microsoft.Bcl.Async 1.0.168' package requires NuGet clint version '2.8.1' or above,but the current NuGet 
version is '2.7.40911.287'.
At line:1 char:1
+ Install-Package MyToolkit.Extended
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Install-Package],NuGetVersionNotSatisfiedException
 + FullyQualifiedErrorId :    NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

解决方法

根据您收到的错误消息,我建议在安装库包之前检查并更新您的NuGet Visual Studio扩展(工具>扩展和更新).

注意:在更新Nuget VS扩展之后和下载库包之前,请重新启动visual studio.

相关文章

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注