VS 2010和框架4.0不支持Sinch Nuget包

时间:2015-07-15 06:07:54

标签: sinch

安装Sinch的Nuget包时,我在VS2010和Framework 4.0上得到了不支持的错误



PM> Install-Package Sinch.SMS
Installing 'Sinch.SMS 1.1.0.0'.
Successfully installed 'Sinch.SMS 1.1.0.0'.
Adding 'Sinch.SMS 1.1.0.0' to DMMService.
Uninstalling 'Sinch.SMS 1.1.0.0'.
Successfully uninstalled 'Sinch.SMS 1.1.0.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'Sinch.SMS 1.1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package doe
s 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:16
+ Install-Package <<<<  Sinch.SMS
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
 
PM> 
&#13;
&#13;
&#13;

0 个答案:

没有答案