0

在安装 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> 

4

1 回答 1

0

抱歉,目前我们只支持 4.5

于 2015-07-15T11:58:57.800 回答