C# 无法使用nuget安装PCLStorage

C# 无法使用nuget安装PCLStorage,c#,nuget,portable-class-library,C#,Nuget,Portable Class Library,我已经创建了一个新的可移植类库项目。我希望它有一些IO功能,所以我决定使用 因此,在包管理器中,我执行以下命令:installpackagepclstorage,但它无法安装包。我被告知以下错误: 无法安装程序包“PCLStorage 1.0.1”。你是想 将此包安装到目标为的项目中 “portable-net40+sl50+wp80+win”,但该软件包不包含任何 与之兼容的程序集引用或内容文件 框架 有什么可以帮我的吗? 完全错误: Install-Package : Could not i

我已经创建了一个新的可移植类库项目。我希望它有一些IO功能,所以我决定使用

因此,在包管理器中,我执行以下命令:installpackagepclstorage,但它无法安装包。我被告知以下错误:

无法安装程序包“PCLStorage 1.0.1”。你是想 将此包安装到目标为的项目中 “portable-net40+sl50+wp80+win”,但该软件包不包含任何 与之兼容的程序集引用或内容文件 框架

有什么可以帮我的吗? 完全错误:

Install-Package : Could not install package 'PCLStorage 1.0.1'. You are trying to install this package into a project that targets 'portable-net40+sl50+wp80+win', but the package does 
not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package PCLStorage -Version 1.0.1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
表示支持以下可移植库框架:

portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac

您应该尝试将.NET 4.0升级到4.5,并从PCL中删除Silverlight,因为它们显然不受此框架的支持。

@Krimson Great!我很高兴能帮上忙。